Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
#warning: 'text'
Displays the text of a warning defined with the #warning directive.
The following sample shows how to create a user-defined warning:
// CS1030.cs
class Sample
{
static void Main()
{
#warning Let's give a warning here // CS1030
}
}