public static void smethod_0(TextWriter textWriter_0) { for (int i = 0; i < 8; i++) { textWriter_0.WriteLine("Priority: {0}", (TimerPriority)i); textWriter_0.WriteLine(); Dictionary <string, List <TimerClass> > dictionary = new Dictionary <string, List <TimerClass> >(); for (int j = 0; j < list_0[i].Count; j++) { List <TimerClass> list; TimerClass item = list_0[i][j]; string key = item.ToString(); dictionary.TryGetValue(key, out list); if (list == null) { dictionary[key] = list = new List <TimerClass>(); } list.Add(item); } foreach (KeyValuePair <string, List <TimerClass> > pair in dictionary) { string str2 = pair.Key; List <TimerClass> list2 = pair.Value; textWriter_0.WriteLine("Type: {0}; Count: {1}; Percent: {2}%", str2, list2.Count, (int)(100.0 * (((double)list2.Count) / ((double)list_0[i].Count)))); } textWriter_0.WriteLine(); textWriter_0.WriteLine(); } }