public static Boolean Q27_StrStr_Test() { Q27StrStr qstring = new Q27StrStr(); try{ Console.WriteLine(qstring.Q27_StrStr("a", "a")); Console.WriteLine(qstring.Q27_StrStr("aaa", "aaa")); return(true); } catch { return(false); } }
static void Main(string[] args) { Console.WriteLine("Q27_StrStr_Test" + Q27StrStr.Q27_StrStr_Test().ToString()); }