Some comments on C# exceptions:
Unlike Java, C# doesn’t have checked exceptions. Heres what Anders Hejlsberg has to say about it. And heres an MSDN article.
In C#, the ‘throw’ keyword preserves the type of an exception.


This results in “Arithmetic Exception caught” being output to the console.


About soumya chattopadhyay
I live and work in Seattle, WA. I work with Microsoft technologies, and I'm especially interested in C#.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: