5.猜數字1A2B
string input = "今天天氣真好";
string pattern = "今天";
bool test = input.Contains(pattern);
Console.WriteLine(test);
pattern = "明天";
test = input.Contains(pattern);
Console.WriteLine(test);
string input = "今天天氣真好";
string pattern = "今天";
bool test = input.Contains(pattern);
Console.WriteLine(test);
pattern = "明天";
test = input.Contains(pattern);
Console.WriteLine(test);