C# Language Creating a new project using Xamarin Studio


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

Creating New Project in Xamarin Studio

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

Choosing Template for new project

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

Project name and location

  1. The newly created project will look similar to:

enter image description here

  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!");
  1. To run the code, press F5 or click the Play Button as shown below:

Run the code

  1. Following is the Output: