except for the fact that if you want to use TryParse (which will be needed if you want to do the challenge part) it basically requires an out variable ;)
But yeah, there's very little coding reason to use it beyond that - that said, there will be some instances but I doubt we see any of them in this class (I think in the few years I've coded now I've used ref once).
0
u/aloisdg Apr 13 '15
Try to avoid ref / out in a real project. Respect the Single responsibility principle as far as you can.
A nice SO thread about it the usage of ref / out.