Home > Google > Adding two numbers without using the + Operator

Adding two numbers without using the + Operator

March 27th, 2008

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

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

partho Google

  1. Ishaan
    April 10th, 2009 at 01:16 | #1

    nice one :)

  1. No trackbacks yet.