#if SYMBOL
//code
#endif
what values does C# predefine for use?
/ˌpriː.dɪˈfaɪnd/ decided, set, or arranged before something is done: The chart can be filled out with a predefined set of values.
A pre-defined function is built into the software and does not need to be created by a programmer. Pre-defined functions often exist to carry out common tasks, such as: finding an average number. determining the length of a string.
Predefined-time convergence means that a system is driven to the origin of its state space in a desired settling time that can be set as an explicit parameter of the controller and it is achieved independently of the initial conditions.
simple past tense and past participle of predefine.
To add to what Nick said, the MSDN documentation does not list any pre-defined names. It would seem that all need to come from #define
and /define
.
#if on MSDN
Depends on what /define compiler options you use. Visual Studio
puts the DEBUG
symbol in there for you via the project settings, but you could create any ones that you want.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With