IndexOf returns the magic value of −1 when the character is not found: int i = "Pink".IndexOf ('b'); Console.WriteLine (i); // −1 However, Array.
確定! 回上一頁