According to Microsoft:
In other words, x += y is the same as x = x + y.Code://string concatenation string s = "Hello"; s += " world."; Console.WriteLine(s); //Output: "Hello world."
I would like to overload (or declare a new operator?) so that x += y is the same as x = y + x. I just want to reverse the order. So in MS's example, the output would be " world. Hello"
Is this possible?
Dan




Reply With Quote