using System;
public class TestObject
{
public string Value { get; private set; }
public TestObject()
this.Value = "TestObject";
}
public class Program
public static void Main()
TestObject to = TestTryFinally();
Console.WriteLine(to.Value);
public static TestObject TestTryFinally()
TestObject ret = null;
try
ret = new TestObject();
throw new Exception();
return ret;
finally
ret = null;