Published · 1 min read

Adding two numbers without using the + Operator

This is pretty easy to accomplish as Minus Minus maketh plus.

This is pretty easy to accomplish as Minus Minus maketh plus.

int A = 10;
int B = 5;
Console.WriteLine(A - -B);
Console.Read();
Partho Sarathi

Partho Sarathi

Founder, Maxotek

C# & .NET

Our blog

Related posts

Tutorials, notes and news from Maxotek.

View all posts

See what Maxotek makes

Monitoring, conversion tools and more, built by the same people who wrote these posts.