daily pastebin goal
22%
SHARE
TWEET

Untitled

a guest Oct 12th, 2017 55 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         private static void FindDiferentClasses(Branch[] branches)
  2.         {
  3.             var newList = new List<string>();
  4.             for (int i = 0; i < NumberOfBranches; i++)
  5.             {
  6.                 for (int j = 0; j < branches[i].Heros.Count; j++)
  7.                 {
  8.                     newList.Add(branches[i].Heros.GetHero(j).HeroClass);
  9.                 }
  10.             }
  11.             newList = newList.Distinct().ToList();
  12.         }
RAW Paste Data
Top