public void ListIndexing() { dynamic d = new List<int> {0, 1, 2, 3}; for (int i = 0; i != 4; ++i) { Assert.Equal(i, d[i]); } }