1.

Does C# Support C Type Macros?

Answer»

No. C# does not have macros. Keep in MIND that what some of the predefined C macros (for example, __LINE__ and __FILE__) give you can also be found in .NET classes LIKE System.Diagnostics (for example, StackTrace and StackFrame), but they'll only work on debug builds.

No. C# does not have macros. Keep in mind that what some of the predefined C macros (for example, __LINE__ and __FILE__) give you can also be found in .NET classes like System.Diagnostics (for example, StackTrace and StackFrame), but they'll only work on debug builds.



Discussion

No Comment Found