I\'m trying to formalise the usage of the \"out\" keyword in c# for a project I\'m on, particularly with respect to any public methods. I can\'t seem to find any best practi
Stay away from out. It's there as a low-level convenience. But at a high level, it's an anti-technique.
out
int? i = Util.TryParseInt32("1"); if(i == null) return; DoSomething(i);