Answers

Question and Answer:

  Home  C# (Sharp) Programming Language

⟩ Does C# support C type macros?

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.

 149 views

More Questions for you: