How to Add Two numbers In C#
namespace addition
{
class Program
{
static void Main(string[] args)
{
int c, a = 10, b = 10;
c = (a + b);
Console.WriteLine(c);
Console.ReadLine();
}
}
}
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: