0
public static IEnumerable<string> GetMatches(string[] items, string pattern)
{
if(items == null || items.Length == 0) yield break;
foreach(var match in items)
{
if (match.Contains(pattern)) yield return match;
}
}
0
Hi Yuva,
You can go through this article included source code.
https://www.codeproject.com/Tips/631196/ComboBox-with-Suggest-Ability-based-on-Substring-S