Equivalent of these Macros in C#
-
There are some predefined macros in C++! __FILE__ : The name of the current source file. it expands to a string surrounded by double quotation marks. __LINE__ : The line number in the current source file. The line number is a decimal integer constant. It can be altered with a #line directive. List of these macros can be found at. http://msdn2.microsoft.com/en-us/library/b0084kay(VS.71).aspx[^] Can any one please tell the equivalent of these macros in C#.
Best Regards, Mushq Mushtaque Ahmed Nizamani Software Engineer Ultimus Pakistan
-
There are some predefined macros in C++! __FILE__ : The name of the current source file. it expands to a string surrounded by double quotation marks. __LINE__ : The line number in the current source file. The line number is a decimal integer constant. It can be altered with a #line directive. List of these macros can be found at. http://msdn2.microsoft.com/en-us/library/b0084kay(VS.71).aspx[^] Can any one please tell the equivalent of these macros in C#.
Best Regards, Mushq Mushtaque Ahmed Nizamani Software Engineer Ultimus Pakistan
-
There are some predefined macros in C++! __FILE__ : The name of the current source file. it expands to a string surrounded by double quotation marks. __LINE__ : The line number in the current source file. The line number is a decimal integer constant. It can be altered with a #line directive. List of these macros can be found at. http://msdn2.microsoft.com/en-us/library/b0084kay(VS.71).aspx[^] Can any one please tell the equivalent of these macros in C#.
Best Regards, Mushq Mushtaque Ahmed Nizamani Software Engineer Ultimus Pakistan