Gets an object reference.
An object.
If the object is null, the default value is returned.
object obj0 = MainUtil.GetObject(myObject, null); // myObject object obj1 = MainUtil.GetObject(null, "123"); // "123"
MainUtil Class | Sitecore Namespace