Where Extra = { Radio = 1, PowerWindows = 2, Tint = 4, Rims = 8 };
Then I can do: if (Tint | powerWindows) { return totalPrice + 1000; }
Where Extra = { Radio = 1, PowerWindows = 2, Tint = 4, Rims = 8 };
Then I can do: if (Tint | powerWindows) { return totalPrice + 1000; }