CSharp examples for System:Object
Is Object Not Null
public class Main{ public static bool IsNotNull<T>(this T value) {//from w ww .ja v a 2 s.c o m return !object.ReferenceEquals((object)value, (object)null); } }