GetNiceName() статический приватный Метод

static private GetNiceName ( PredefinedType type ) : string
type PredefinedType
Результат string
        ////////////////////////////////////////////////////////////////////////////////
        // Some of the predefined types have built-in names, like "int" or "string" or
        // "object". This return the nice name if one exists; otherwise null is
        // returned.

        public static string GetNiceName(PredefinedType pt)
        {
            return(PredefinedTypeFacts.GetNiceName(pt));
        }
Пример #2
0
        ////////////////////////////////////////////////////////////////////////////////
        // Some of the predefined types have built-in names, like "int" or "string" or
        // "object". This return the nice name if one exists; otherwise null is
        // returned.

        private static string GetNiceName(PredefinedType pt) => PredefinedTypeFacts.GetNiceName(pt);