// archives

C#

This tag is associated with 7 posts

C# 4.0 more like VB: Sign of the Apocalypse?

Gasp!  Can it be true?  Did Anders Hejlsberg really say that the next release of C# was going to be more like VB, and if he did, is this the beginning of the end for all of those holier-than-thou VB-bashers? I hope so. I’ve worked with both, and I’m really tired of the argument that [...]

ExpectedException – Doh!

Every time I learn an easier way to do something, I’m glad I learned it, but I feel like an idiot for not finding it sooner.  Here’s a perfect example.  Here’s the hard way to check for an expected exception in a VSTS unit test: /// <summary> /// Test for an expected exception – the [...]