string a = "abcdef";string b = "cde";if(a.Contains(b)){ Console.WriteLine("a 包含 b");}else { Console.WriteLine("a 包含 b");}