Last post Jan 09, 2015 05:05 AM by Eileen ni - MSFT
Jan 08, 2015 07:16 AM|siddu bharamagoudar|LINK
i pls exaplain me with example what is try catch and exception block in C#
especially i am very confusing about throw statemnt with Catch with example
Jan 08, 2015 07:27 AM|mgebhard|LINK
Please see the following
Jan 08, 2015 07:32 AM|vinz|LINK
It's used for handling unexpected exceptions. I would suggest you to give this post a read: http://codebetter.com/blogs/karlseguin/archive/2006/04/05/142355.aspx
Jan 09, 2015 05:05 AM|Eileen ni - MSFT|LINK
Thanks for your post.
The try-catch statement consists of a try block followed by one or more
catch clauses, which specify handlers for different exceptions.
Please check these:
Throwing an Exception using ASP.NET 2.0 and C# .NET
Throwing exceptions in ASP.NET C#
C# Try-Catch & Exception handling
ASP.Net C# - try-catch-finally and using statements [closed]
Hope this can be helpful.