Object @object = new null;
SomeObject so = new SomeObject(); so.DoSomething(); so.Dispose(); so = null; // We are now absolutely sure the SomeObject so was referencing to is no longer referenced by so. // This should theoretically not be necessary in .NET.
Nullable<int> i1 = null; // Actually has a null reference. int? i2 = null; // Same as code above.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)