How to extract same data from FOREACH loop c#

Hello,
I have a file that have list of same multiple numbers. Each number contains some balance value and date, they are sorted by number and date in descending order in foreach loop.

I tried this code and many more stuff but problem is that i get all that are less or equals to 10.

Class where those results are stored

public class MagicNumberList
{
        public int MagicNumber { get; set; }
        public double Profit { get; set; }
        public DateTime CloseTime { get; set; }
}

code

tempList = new List<MagicNumberList>();

foreach (var item in MagicList.OrderByDescending(x => x.MagicNumber).ThenByDescending(x => x.CloseTime))
{
    int MagicNumber = item.MagicNumber;
    double Profit = item.Profit;
    DateTime CloseTime = item.CloseTime;

    var MagicExists = tempList.Where(x => x.MagicNumber == MagicNumber).ToList();

    if ((MagicExists.Count() + 1) <= 10)
        Console.WriteLine(MagicNumber + ", " + Profit + ", " + CloseTime);
}

Question i have is, how i can take only first 10 records of same numbers in a loop ?
Example for one number only, here is 20 numbers, and i need only 10

16822, 10.38, 11-Jul-19 04:56:27
16822, 9.88, 27-Jun-19 09:00:00
16822, 0.43, 17-Jun-19 16:00:02
16822, -2.36, 11-Jun-19 04:00:00
16822, -9.82, 05-Jun-19 20:08:02
16822, 13.31, 31-May-19 21:06:21
16822, 1.49, 22-May-19 10:00:02
16822, -2.8, 17-May-19 12:00:01
16822, -8.8, 13-May-19 15:07:46
16822, -8.43, 10-May-19 21:49:31
16822, -5.84, 03-May-19 16:45:26
16822, -4.91, 01-May-19 21:38:06
16822, -0.58, 01-May-19 06:00:03
16822, -1.43, 26-Apr-19 13:00:01
16822, -4.4, 25-Apr-19 10:11:29
16822, -3.58, 23-Apr-19 16:26:34
16822, -0.97, 18-Apr-19 00:01:36
16822, -2.8, 11-Apr-19 14:00:31
16822, 2.48, 05-Apr-19 13:00:15
16822, 0.2, 04-Apr-19 00:01:44

and i want to take first 10 results of this number, and same for each number but only if there is 10 records like this, and repeat same for all other numbers

16822, 10.38, 11-Jul-19 04:56:27
16822, 9.88, 27-Jun-19 09:00:00
16822, 0.43, 17-Jun-19 16:00:02
16822, -2.36, 11-Jun-19 04:00:00
16822, -9.82, 05-Jun-19 20:08:02
16822, 13.31, 31-May-19 21:06:21
16822, 1.49, 22-May-19 10:00:02
16822, -2.8, 17-May-19 12:00:01
16822, -8.8, 13-May-19 15:07:46
16822, -8.43, 10-May-19 21:49:31

Here is list of all numbers https://pastebin.com/KBJkcs7b