Creating a new project using Xamarin Studio C# with Example



Creating a new project using Xamarin Studio C# with Example

1. Download and install Xamarin Studio Community. 
2. Open Xamarin Studio. 
3. Click File → New → Solution. 
 

4. Click .NET → Console Project and choose C#. 
5. Click Next to proceed. 
 

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

7. The newly created project will look similar to: 
8. 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(); 
} 
} 
} 
9. To run the code, press F5 or click the Play Button as shown below: 
10. Following is the Output: 
 

 

0 Comment's

Comment Form