This article will provide an idea/example of how to handle errors in C# programming using try and catch blocks.
Please see all the examples to understand how errors will be handed using try and catch blocks.
You can go through the following links about what is a try and catch block.
http://msdn.microsoft.com/en-us/library/0yd65esw(v=vs.90).aspx
You can find the detailed descriptions within each example.
Single Try and Catch block
Example 1
Example 2
Example 3
Example 4

Single Try and Multiple Catch block
Example 1
Example 2
Multiple Try and Catch block
Examples
Nested Try and Catch block
Example 1
Example 2
Conclusion
Hope you will enjoy this article. Please provide the suggestions on this article in comments section.

SubashPosted Mar 17, 2017, 12:36 AM
If you explain few about screenshot it may be useful