Share via


#endregion (C# Reference)

#endregion marks the end of a #region block. For example:

#region MyClass definition
class MyClass 
{
    static void Main() 
    {
    }
}
#endregion

See Also

Reference

C# Preprocessor Directives

Concepts

C# Programming Guide

Other Resources

C# Reference