Partager via


#pragma (C# Reference) 

#pragma is used to give the compiler special instructions for the compilation of the file in which it appears

#pragma pragma-name pragma-arguments

Parameters

  • pragma-name
    The name of a recognized pragma.
  • pragma-arguments
    Pragma-specific arguments.

See Also

Reference

C# Preprocessor Directives
#pragma warning (C# Reference)
#pragma checksum (C# Reference)

Concepts

C# Programming Guide

Other Resources

C# Reference