What's the best way of providing toggles to a function call in c# ? similar to how it is done in C/C++. I want to be able to add additional toggles without breaking the API. The ideal solution requires the least LOC.
E.g., in C we can do FILE_OPEN | FILE_READONLY.