Biko2.BikoKata_1.Core.ChecksUtils.IsOnlyOneNumber C# (CSharp) Method

IsOnlyOneNumber() public method

public IsOnlyOneNumber ( string stringOfNumbers ) : bool
stringOfNumbers string
return bool
        public bool IsOnlyOneNumber(string stringOfNumbers)
        {
            if (stringOfNumbers.Contains(","))
            {
                return false;
            }
            return true;
        }