2001-01-04 Nick Drochak <ndrochak@gol.com>
[mono.git] / mcs / class / corlib / System.Collections / IList.cs
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 (vladimir@pobox.com)
7 //
8 // (C) 2001 Vladimir Vukicevic
9 //
10
11 using System;
12
13 namespace System.Collections {
14
15         public interface IList : ICollection, IEnumerable {
16                 // properties
17
18                 bool IsFixedSize { get; }
19
20                 bool IsReadOnly { get; }
21
22                 object this[int index] { get; set; }
23
24                 // methods
25
26                 int Add (object value);
27
28                 void Clear ();
29
30                 bool Contains (object value);
31
32                 int IndexOf (object value);
33
34                 void Insert (int index, object value);
35
36                 void Remove (object value);
37
38                 void RemoveAt (int index);
39         }
40 }