#pragma (C# Reference)
Updated: July 20, 2015
For the latest documentation on Visual Studio 2017 RC, see Visual Studio 2017 RC Documentation.
#pragma gives the compiler special instructions for the compilation of the file in which it appears. The instructions must be supported by the compiler. In other words, you cannot use
#pragma to create custom preprocessing instructions. The Microsoft C# compiler supports the following two
#pragma pragma-name pragma-arguments
The name of a recognized pragma.