System.Delimiter.GetDType C# (CSharp) Метод

GetDType() публичный статический Метод

public static GetDType ( char c ) : DelimitType
c char
Результат DelimitType
        public static DelimitType GetDType(char c)
        {
            switch(c) {
                case '(':
                case ')':
                    return DelimitType.Paranthesis;
                case '[':
                case ']':
                    return DelimitType.Bracket;
                case '{':
                case '}':
                    return DelimitType.Curly;
                case '<':
                case '>':
                    return DelimitType.Angled;
                default:
                    return DelimitType.None;
            }
        }