Exception e = new ArgumentException("x"); ArgumentException a = e as ArgumentException; will work.... if e is actually an ArgumentExcept ...

Forward

2 months, 2 weeks ago by Sam J.

Add a Reply

Join Now to Reply!

To add your own reply, sign in or join Pownce today!

7 Recipients

View all

This note is viewable by everyone.