System.ObjectExtensions.EmptyOrValue C# (CSharp) Method

EmptyOrValue() public static method

public static EmptyOrValue ( this obj ) : string
obj this
return string
        public static string EmptyOrValue(this object obj)
        {
            return obj == null ? String.Empty : obj.ToString();
        }