ToNull

public static object ToNull(this object o)
{
return null;
}
Example:
object o = new object();
o.ToNull();

Description

Turns any object to null

Details

Double click on the code to select all.

 

;