mcintyre321


Comments:

Try-catching in a single line of code

posted by mcintyre321mcintyre321(308) 3 years, 11 months ago 0

I'm just glad none of you have pointed out that you can write on a single line already :)
int y; try { y = DoSomething(); }catch (NullReferenceException ex){ y = -1;}

Reply

Give Your ASP.NET Applications Velocity

posted by mcintyre321mcintyre321(308) 3 years, 11 months ago 0

what will they think of next?

Reply