Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Preprocessor Directives

Is there a simplistic reference for all preprocessor directives?

like image 827
Danny G Avatar asked Apr 25 '26 09:04

Danny G


2 Answers

For C#:

http://msdn.microsoft.com/en-us/library/ed8yd1ha(vs.71).aspx

like image 145
Keltex Avatar answered Apr 26 '26 22:04

Keltex


The C# compiler doesn't have a preprocessor in the traditional sense, but it does support a limited number of preprocessor like commands #define, #if and so forth, but you will not be able to do the same stunts that e.g. a C/C++ preprocessor can do.

EDIT: While typing other have supplied lists of supported options. Thumbs up.

like image 40
Brian Rasmussen Avatar answered Apr 26 '26 21:04

Brian Rasmussen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!