Code: using System; using System.Collections.Generic; using System.Text; namespace add_num { class Program { static void Main(string[] args) { Console.WriteLine("Enter the num"); int a, b,c; Console.WriteLine("Enter the first no. :"); a = Int32.Parse(Console.ReadLine()); Console.WriteLine("Enter the second no :"); b = Int32.Parse(Console.ReadLine()); c = a + b; Console.WriteLine("total :" + c); Console.ReadLine(); } } }