GR.Gambling.Blackjack.Card.SuitFromChar C# (CSharp) 메소드

SuitFromChar() 공개 정적인 메소드

public static SuitFromChar ( char s ) : int
s char
리턴 int
        public static int SuitFromChar(char s)
        {
            for (int i = 0; i < suit_chars.Length; i++) if (suit_chars[i] == s) return i;
            return -1;
        }