|
|
|
|
|
by canadaj
3384 days ago
|
|
I see your point on out parameters, they are ripe for abuse. You can abuse out parameters right now, just with a little more effort. var x, y;
p.DoSomething(out x, out y);
Where this becomes useful, I think, are places where you can't avoid using an out parameter. Now, you can choose to throw away or use the out parameter without explicitly declaring it. var isNumber = Int32.TryParse(number, out x);
|
|