Month: August 2008
-
C# swapping values
We have always learned that swapping values in programming is easily done by having a 'helper' value. Because if you do not use a helper value you will get the following problem: c#:{ a = 1; b = 2; a = b; // a now holds 2 b = a; // b now also holds…