public void Kill(string keys) { if (string.IsNullOrEmpty(keys)) { throw new Exception("No keys passed"); } keys.Split(",").ToList().ForEach(x => ProcessTracker.Kill(x)); }