First contact with C# Learn programming C#

Lesson:

First contact with C# Sharp


Exercise:

First contact with C#


Objetive:

Create a program (in C#) to print Hello on screen and then print your name (in a separate line).


Code:

using System; 
public class exercise1
{ 
    public static void Main() 
    { 
        System.Console.WriteLine("Hello"); 
        System.Console.WriteLine("Juan!");
    } 
}

Juan A. Ripoll - Systems Tutorials and Programming Courses ©  All rights reserved.  Legal Conditions.