line default : line « Preprocessing Directives « C# / CSharp Tutorial






  1. The #line directive sets the line number and filename.
  2. #line is primarily used for debugging and special applications.
  3. The number and the name are used when outputing errors or warnings.

The general form for #line is

#line number "filename"
  1. number is any positive integer
  2. The optional "filename" is any valid file identifier
using System;

class MainClass
{
  [STAThread]
  static void Main(string[] args)
  {
       #line default
       #line 3000
  }

}








16.5.line
16.5.1.line default