Saturday, January 4, 2014

Start with console application in C#

C-Sharp tutorials for beginners. It is possible to make a project with this article.

//Open the Visual C#
//click the new project
//console application
//type the name of project

using System;
using System.Collections.Generic;
using System.Text;

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

Running the Program

On the Debug menu, click Start Without Debugging (or just press Ctrl-F5). A command prompt window appears that looks like this:
 
 
 

No comments:

Post a Comment