0
kicks
Some quick facts 2: Garbage Collection
How a resource is allocated to de-allocated?
using(MyClass c1 = new MyClass())
{
Console.WriteLine(c1.i);
}
The above statements do following in the sequence:
1. Allocate memory for the type MyClass on heap.
...