Csharp/CSharp Tutorial/Preprocessing Directives/line

Материал из .Net Framework эксперт
Перейти к: навигация, поиск

line default

  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


<source lang="csharp">#line number "filename"</source>