public void Process(object callback) { AllText = new List <string>(); for (int i = 0; i < List.Count; i++) { if (List[i].ToUpper().Contains(CurrentText.ToUpper()) && CurrentText != string.Empty) { AllText.Add(List[i]); } } }