GR.Gambling.Blackjack.Card.SuitFromChar C# (CSharp) Méthode

SuitFromChar() public static méthode

public static SuitFromChar ( char s ) : int
s char
Résultat 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;
        }