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

Code Example 1

// Hello World! program
namespace HelloWorld
{
    class Hello {         
        static void Main(string[] args)
        {
            System.Console.WriteLine("Hello World!");
        }
    }
}

Learn ReactJs, React Native from akashmittal.com