CSharp - Write program to Sum two number read from console

Requirements

You will make calculations with two numbers from the user.

You will write a program that sums two numbers entered by the user.

Hint

Demo

using System;
class Program{//from   ww w. j ava 2s.  c  o m
    static void Main(string[] args)
    {
        // Input of 1. number 
        Console.Write("Enter 1. number: ");
        string input1 = Console.ReadLine();
        int number1 = Convert.ToInt32(input1);

        // Input of 2. number 
        Console.Write("Enter 2. number: ");
        string input2 = Console.ReadLine();
        int number2 = Convert.ToInt32(input2);

        // Calculating 
        int result = number1 + number2;

        // Result output 
        Console.WriteLine("Sum of entered numbers is: " + result);
    }
}

Result