C# Removing data from a list
<p>So I have recently started working with C# and now I got a project to do at home...</p>

<p>I have a situation where I have a data file with information about an undefined amount of rings.... Their Maker, Name, Metal, Weight, Size, Purity and Price.</p>

<p>I've read the file... and separated the rings into a class which looks like:</p>

<pre><code>class Rings
    {
        public string Maker { set; get; }
        public string Name { set; get; }
        public string Metal { set; get; }
        public string Weight { set; get; }
        public string Size { set; get; }
        public string Purity { set; get; }
        public string Price { set; get; }

        public Rings() { }
        public Rings(string maker, string name, string metal, string weight, string size, string purity, string price)
        {
            Maker = maker;
            Name = name;
            Metal = metal;
            Weight = weight;
            Size = size;
            Purity = purity;
            Price = price;
        }
    }
</code></pre>

<p>Now the final part of the project is to find and print to a file rings, which are under 300 in price and are either size 13 or 14... So I came up with the idea to make a loop and a couple of if functions to delete all rings which do not suit these requirements from the list, and then simply print out what's left of the list...
Here's the method:</p>

<pre><code>public static void SpecificRings(List&lt;Rings&gt; RingList)
        {

            foreach(var x in RingList)
            {
                int ThePrice = int.Parse(x.Price);
                int TheSize = int.Parse(x.Size);
                if (ThePrice &gt;= 300)
                {
                    RingList.Remove(x);
                }
                else if (TheSize != 12 || TheSize != 13)
                {
                    RingList.Remove(x);
                }
            }
        }
</code></pre>

<p>Now the problem is that I do not know how to remove the actual things from the list... I understand that I'll need to make 7 of the RingList.Remove(); But how do I specify which information to delete? Any questions are welcome if I didn't explain the situation well enough</p>