コード例 #1
0
        private char GetSwitchChar(CharacterSetNames setName)
        {
            switch (setName)
            {
            case CharacterSetNames.A:
                return(SwitchA);

            case CharacterSetNames.B:
                return(SwitchB);

            default:
                return(SwitchC);
            }
        }
コード例 #2
0
        private char GetStartChar(CharacterSetNames setName)
        {
            switch (setName)
            {
            case CharacterSetNames.A:
                return(StartCharA);

            case CharacterSetNames.B:
                return(StartCharB);

            default:
                return(StartcharC);
            }
        }