Follow @RoyOsherove on Twitter

Why is this missing from C#?

Found out about a cool feature in VB.NET, but i can't seem to find something similar inC#.

In VB.NET you can create a Catch block that only catches the execption depending on a boolean statement. the syntax for this is pretty elegant: just write:

Catch ex as Exception When x>1

now why don't C# developers have this? i can see a lot of elegant possibilities with this feature..

how do you make your .NET application scriptable?

Ink-based designer - Now that's cool!