Sunday 9 February 2014

C# Console Application

Unknown  /  at  22:23  /  No comments

C# Console ApplicationA Console Application is one that looks like a window 7. If you don't know what these are, click your Start menu in the bottom left of your screen. Click on Microsoft visual studio 2010.




This is the first step you see that .
Please select C#.net Visual developing and start now.



So along with Visible C# Express start, just click Document in the menu tavern at the very top. In the Document menu, decide on Fresh Task (or click the Fresh Task web page link on the eventually left in the cracking open monitor in designs 2010 along with 2012/13):



When you click on New Project, you'll see the following dialogue box appear in version 2010:


For 2012/13 users, click on template from the list on the left. in Templates, click on Visual C#. You'll then observe Console Application come into view in the central point



For every version, the New Project dialogue box is anywhere you choose the kind of project you want to make. If you only have the convey edition of Visual C#, the option are partial. used for the relax of this order, we'll be create window application. used for now, choose Console Application. next click OK.
while you hit it off OK, a new soothe Application job will be twisted for you. Some code must be display:



As well as the code, include a look on the exact hand over side and you'll see the Solution Explorer. This is anywhere all the records for your task are. (If you can't observe the Solution Explorer, click analysis from the C# menu bar at the top. From the analysis menu, click Solution Explorer.)

You can add some code in main method …such as The code in below
using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApplication1
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, world!");
            Console.ReadLine();
        }
    }
}

Look at the picture 



Let's save the project. We'll do that in the next part below.
                           Next tutorial : Saving your work inC# .NET -->





Share
Posted in: Posted on: Sunday 9 February 2014

0 comments:

Thank you for your comment

Recent Comments

Copyright © 2014 Tutorialspoint. Nazmul Theme-Tutespoint converted by Theme-Tutespoint
Blogger templates. Proudly Powered by Blogger.