Sum of two numbers Learn programming C#

Lesson:

First contact with C# Sharp


Exercise:

Sum of two numbers


Objetive:

Write a C# program to print the result of adding 12 and 13 on screen.


Code:

using System;
public class exercise2
{
    public static void Main()
    {
        System.Console.WriteLine(12+13);
    }
}

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