1. Download and install Xamarin Studio Community.
  2. Open Xamarin Studio.
  3. Click FileNewSolution.

http://i.stack.imgur.com/hHjMM.png

  1. Click .NETConsole Project and choose C#.
  2. Click Next to proceed.

http://i.stack.imgur.com/s58Ju.png

  1. Enter the Project Name and Browse… for a Location to Save and then click Create.

http://i.stack.imgur.com/lrK8L.png

  1. The newly created project will look similar to:

http://i.stack.imgur.com/vva82.png

  1. This is the code in the Text Editor:
using System;

namespace FirstCsharp
{
    public class MainClass
    {
        public static void Main(string[] args)
        {
            Console.WriteLine("Hello World!");
            Console.ReadLine();
        }
    }
}
  1. To run the code, press F5 or click the Play Button as shown below:

http://i.stack.imgur.com/6q4ZN.png

  1. Following is the Output:

http://i.stack.imgur.com/cqBsK.png