298.

If an IndexofAny method is passed an array of characters it:

IndexOfAny searches a string for many values. It returns the first position of any of the values you provide. The .NET Framework provides several overloads of IndexOfAny. This method is useful in certain contexts.

using System;

class Program
{
static void Main()
{
  // A.
  // Input.
  const string value1 = "Darth is my enemy.";
  const string value2 = "Visual Basic is hard.";

  // B.
  // Find first location of 'e' or 'B'.
  int index1 = value1.IndexOfAny(new char[] { 'e', 'B' });
  Console.WriteLine(value1.Substring(index1));

  // C.
  // Find first location of 'e' or 'B'.
  int index2 = value2.IndexOfAny(new char[] { 'e', 'B' });
  Console.WriteLine(value2.Substring(index2));
}
}

Output
------
enemy.
Basic is hard.