IList.cs 646 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
  2. //
  3. // System.Collections.IList
  4. //
  5. // Author:
  6. // Vladimir Vukicevic ([email protected])
  7. //
  8. // (C) 2001 Vladimir Vukicevic
  9. //
  10. using System;
  11. namespace System.Collections {
  12. public interface IList : ICollection, IEnumerable {
  13. // properties
  14. bool IsFixedSize { get; }
  15. bool IsReadOnly { get; }
  16. object this[int index] { get; set; }
  17. // methods
  18. int Add (object value);
  19. void Clear ();
  20. bool Contains (object value);
  21. int IndexOf (object value);
  22. void Insert (int index, object value);
  23. void Remove (object value);
  24. void RemoveAt (int index);
  25. }
  26. }