Check out example codes for "#region in c#". It will help you in understanding the concepts better.

Code Example 1

#region Properties
//code written between this can be expanded or minimzed using (+) or (-) in the code editor.
//This is just for better visibility.
#endregion Properties

Code Example 2

#region MyClass definition  
public class MyClass   
    static void Main()   

Learn ReactJs, React Native from