用语言描述下面的程序:namespace StringTest{ class Program { static void Main(string[] args)
用语言描述下面的程序:namespace StringTest{ class Program { static void Main(string[] args) { int nResult = 0; bool bResult = false; string str = "hello everyOne!!"; bResult = str.Contains("e"); Console.WriteLine("Contains(\"e\") = " + bResult); nResult = str.IndexOf("e"); Console.WriteLine("IndexOf(\"e\") = " + nResult); nResult = str.LastIndexOf("e"); Console.WriteLine("LastIndexOf(\"e\") = " + nResult); } } }