Lists and BitArray
So I'm not sure why my code is not working right now. I have tried several different types of codes but nothing has worked. using System; using System.Collections.Generic; namespace SoloLearn { class Program { static void Main(string[] args) { int numOfPlayers = Convert.ToInt32(Console.ReadLine()); List<int> scores = new List<int>(); int count = 0; while (count<numOfPlayers) { int score = Convert.ToInt32(Console.ReadLine()); //your code goes here // scores.Add(59); // scores.Add(3); // scores.Add(12); // scores.Add(4); // scores.Add(5); scores.Add (score); scores.Sort(); for (int x = 0; x <= scores.Count; count++); Console.WriteLine (scores[x] + " "); } //sort the list and output elements } } }