using System;
class AddAssigment
{
static void Main()
{
//addition
int a = 5;
a += 6;
Console.WriteLine(a);
//string concatenation
string s = "Hello";
s += " world.";
Console.WriteLine(s);
}
}
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok