Monday, January 30, 2012

Best Extension Methods: IsNull

This is very simple but very useful to get rid of using == null again and again.. just type obj.isNull() and its done..
public static bool IsNull(this object source)
    {
        return source == null;
    }

Compiled By: Rajesh Rolen

Share This!


No comments:

Powered By Blogger · Designed By Seo Blogger Templates