Hi guys, I have there variables setup like this, I would like in one line be able to assign OldID to ID and "1111" to OldID, is it possible
ID = null
OldID="0000"
ID = OldID =
"1111";final result would be:
ID = "0000"
OldID = "1111"
Hi guys, I have there variables setup like this, I would like in one line be able to assign OldID to ID and "1111" to OldID, is it possible
ID = null
OldID="0000"
ID = OldID =
"1111";final result would be:
ID = "0000"
OldID = "1111"
Special Assignement
ljkyser
for no a particular reason, I was under the impression that under C# you can do that. Curiosity that's all. thank y'all
cbpd86
The line:
ID = OldID = "1111";
will assign "1111" to both ID and OldID (as you have probably discovered). There is no way to do what you want in a single line.
May I ask why you're looking for a single-line solution to this
-Tom Meschter
Software Dev, Visual C# IDE
sobo1