Adding two numbers without using the + Operator

Partho Sarathi

26 Mar, 2008 · 1 minute read

  • Share:

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

int A = 10;
int B = 5;
Console.WriteLine(A - -B);
Console.Read();
  • Share:

The cleanest blogging platform


2024 © Maxotek. All rights reserved.