Example
- Download and install Xamarin Studio Community.
- Open Xamarin Studio.
- Click File → New → Solution.
![Creating New Project in Xamarin Studio](http://i.stack.imgur.com/hHjMM.png)
- Click .NET → Console Project and choose C#.
- Click Next to proceed.
![Choosing Template for new project](http://i.stack.imgur.com/s58Ju.png)
- Enter the Project Name and Browse... for a Location to Save and then click Create.
![Project name and location](http://i.stack.imgur.com/lrK8L.png)
- The newly created project will look similar to:
![enter image description here](http://i.stack.imgur.com/vva82.png)
- 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();
}
}
}
- To run the code, press F5 or click the Play Button as shown below:
![Run the code](http://i.stack.imgur.com/6q4ZN.png)
- Following is the Output:
![output](http://i.stack.imgur.com/cqBsK.png)