اشتراک‌ها
Try catch در C# 6.0
Visual Basic developers can put conditions on a catch block in a try...catch to control which catch block is executed when an error occurs. With C# 6.0, C# developers can now do the same by adding a if test to the catch statement. 
Try catch در C# 6.0