Geschachteltes try-finally in C #
Warum ist die Zeile "Console.WriteLine (" asdf ");" hingerichtet? Alle anderen sind. Sollte es nicht auch so sein, dass wir nicht aus dem Endspiel herausspringen können?
static bool Func()
{
try
{
try
{
}
finally
{
try
{
throw new ApplicationException();
}
finally
{
Console.WriteLine("asd");
}
Console.WriteLine("asdf");
}
}
finally
{
Console.WriteLine("asd");
}
}