日期:2014-05-20  浏览次数:20630 次

下面这段程序的输出结果是?在线等帮助
class MyClass
{
static void Main()
{
System.Console.WriteLine(new MyClass().Foo());
}
string Foo()
{
try
{
throw new System.Exception("An Exception ");
System.Console.Write("Inside try ");
}
catch(System.Exception ex )
{
return ex.Message;
}
finally
{
System.Console.Write("Finally ");
}
return "Outside try ";
}
}

------解决方案--------------------
Finally 
An Exception