Addition of Two numbers in c# with examples

How to Add Two numbers In C#

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

namespace addition
{
class Program
{

static void Main(string[] args)
{
int c, a = 10, b = 10;
c = (a + b);
Console.WriteLine(c);
Console.ReadLine();
}
}
}

0 comments:

Post a Comment