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

Code Example 1

//[access modifier] - [class] - [identifier]
public class Customer
{
   // Fields, properties, methods and events go here...
}

Code Example 2

//Declaring an object of type MyClass.
MyClass mc = new MyClass();

//Declaring another object of the same type, assigning it the value of the first object.
MyClass mc2 = mc;

Learn ReactJs, React Native from akashmittal.com