line number : Preprocessor Directives : Language Basics C# Source Code


Custom Search

C# Source Code » Language Basics » Preprocessor Directives »

 

line number








    
 

using System;

class Operators {
    static void Main() {
#line 300
#warning Something happened.
#warning Something else happened.
#line 400 "someotherfile.cs"
#warning Something happened later.
#line default
#warning Nothing else will happen.
    }
}

 
    
   
  
   







HTML code for linking to this page:

Follow Navioo On Twitter

C# Source Code

 Navioo Language Basics
» Preprocessor Directives