line number : Preprocessor Directives « Language Basics « C# / C Sharp
- C# / C Sharp
- 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.
}
}
Related examples in the same category