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

Code Example 1

//Declare what you are using
using System;

//Creates a public class					
public class Program
{
	public static void Main()
	{
		//code
	}
}

Learn ReactJs, React Native from akashmittal.com