blob: e039a8358c32039ba9d2e44f5b89f4399715e330 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
// -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
//
// System.Collections.IList
//
// Author:
// Vladimir Vukicevic (vladimir@pobox.com)
//
// (C) 2001 Vladimir Vukicevic
//
using System;
namespace System.Collections {
public interface IList : ICollection, IEnumerable {
// properties
bool IsFixedSize { get; }
bool IsReadOnly { get; }
object this[int index] { get; set; }
// methods
int Add (object value);
void Clear ();
bool Contains (object value);
int IndexOf (object value);
void Insert (int index, object value);
void Remove (object value);
void RemoveAt (int index);
}
}
|