In C#, how does one obtain a generic enumerator from a given array?
In the code below, MyArray is an array of MyType objects. I\'d like to
MyArray
MyType
Since I don't like casting, a little update:
your_array.AsEnumerable().GetEnumerator();