System.ObjectExtensions.EmptyOrValue C# (CSharp) Méthode

EmptyOrValue() public static méthode

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