1 // Licensed to the .NET Foundation under one or more agreements.
2 // The .NET Foundation licenses this file to you under the MIT license.
3 // See the LICENSE file in the project root for more information.
6 using System.Runtime.InteropServices;
8 namespace System.Collections
10 [Guid("496B0ABE-CDEE-11d3-88E8-00902754C43A")]
12 public interface IEnumerable
14 // Returns an IEnumerator for this enumerable Object. The enumerator provides
15 // a simple way to access all the contents of a collection.
16 IEnumerator GetEnumerator();