Welcome to Manicprogrammer Sign in | Join | Help

Tuesday, May 06, 2008 - Posts

Writing better exception Strikes Back!

Hmmm, as pinpointed by my good friend Claudio Figueiredo , the compiler isn't very thrilled with my last syntax : 1: public string MyCode(){ 2: try { 3: return "some value" ; 4: } 5: catch (System.Exception ex){ 6: Throw 7: .WithMessage( "something" )
Posted by heynemann | 7 Comments