我有一段代码
//Code 1 Code 2 Code 3
try try try
{ { {
//Exp occur //Exp occur //Exp occur
} } }
catch (Exception e) catch (Exception) catch
{ { {
//Handle exp //Handle exp //Handle exp
} } }
所有三个代码之间有什么区别
P.S. 我是新手,C#
就Java
或Objective-C
担心这种语法会引发错误