System.ObjectExtensions.EmptyOrValue C# (CSharp) 메소드

EmptyOrValue() 공개 정적인 메소드

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