How to iterate and access elements on a List<> in C# : <p>I'm having trouble figuring just exactly how to access and iterate through a List&lt;> of a class and output the values within the class itself. Essentially what I'm trying to do is:
<code>Console.WriteLine(Football.team, Football.year, etc)</code>
for a long list of teams that I have imported form a <code>.csv</code> file.</p>

<p>Please go easy as I'm a newbie at C# programming.</p>

<pre><code>public static void Main(string[] args)
    { // Bring in values from .csv file
        List&lt;Football&gt; values = File.ReadAllLines("/Users/wheelK/Documents/football.csv")
                                       .Skip(1)
                                       .Select(v =&gt; Football.FromCsv(v))
                                       .ToList();

    }

public class Football
    {
        public string team;
        public int year;
        public int wins;
        public int losses;
        public int ties;
    }
</code></pre>
