public static string[] FilteringCallers(IEnumerable <IPhone> phones) { IEnumerable <PhoneCall> allCalls = new PhoneCall[0]; allCalls = phones.Select(p => p.UseComponent <Memory>().Get <PhoneCall>()).SelectMany(p => p); var callers = allCalls.Select(c => c.From).Distinct(); return(new List <string>() { FILTER_ALL_VALUES }.Concat(callers).ToArray()); }