Here's how: using System.Linq; if(stringArray.Any(stringToCheck.Contains)) /* or a bit longer: (stringArray.Any(s => stringToCheck.
確定! 回上一頁