var countries = new []{ new { Name = "United States", Abbr = "US", Currency = "$" }, new { Name = "Canada", Abbr = "CA", Currency = "$" } }; foreach(var country in countries) { var Name = country.Name; ..... }