IEnumerable.cs 587 B

1234567891011121314151617
  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.
  4. using System.Runtime.InteropServices;
  5. namespace System.Collections
  6. {
  7. [Guid("496B0ABE-CDEE-11d3-88E8-00902754C43A")]
  8. [ComVisible(true)]
  9. public interface IEnumerable
  10. {
  11. // Returns an IEnumerator for this enumerable Object. The enumerator provides
  12. // a simple way to access all the contents of a collection.
  13. IEnumerator GetEnumerator();
  14. }
  15. }