replying to @harlequinetcie
Do not expect too much from that, but general suggestion is fine! Just do xD
@Ustingit
.Net developer (c#, asp.mvc), Azure
6 commits in the last 7 days
longest streak 3 dayscurrent 1
using(var x=new Y()) { foreach(var z in x.List) { if(z.IsBad) break using; } }
int result = using<int>(var resource = new MyClass()) { resource.DoStuff(); return resource.ReadExitCode(); };
That's @Ustingit's first reply.