Java Learners

C#

 

I thought we will start with C# also now. Out basic aim is to make a working C# application , and then learn along with code. Learning while implementing is the best way to learn.

Open Visual Studo , and go to File -> New->Project

 

Select the Console application . We will start with basics and then move on to advanced features in C#. To start learning a language, a basic understanding is needed , and we will try to build on that.

 

 

Once you have entered the name as iknowjavaLearnCSharp as the name of the project , a window opens as shown below. Program.cs must be open , and if its not, double click and get the same working.

 

Type the code :

 

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

 

namespace iknowjavaLearnCSharp

{

    class Program

    {

        static void Main(string[] args)

        {

            System.Console.WriteLine("Welcome to C# ");

            System.Console.ReadLine();

        }

    }

}

 

 

Press F5 to build and run

 

The output window as above appears

 

Conclusion: We have the basic C# program running , and we will build on the advanced features on it now in coming chapters.

Next ChapterPrevious Chapter Home Page
Looking for Something more ... check the google
Comment Comment By Datetime
Lets get started on some bigger C# pictures . What say deepak 3/17/2009 3:22:35 PM

Drop a Comment

Comment
Name
Mail ID
Phone number