Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- namespace Interface
- {
- class Lista : IList
- {
- private object[] zawartosc = new object[8];
- private int licznik;
- public Lista()
- {
- licznik = 0;
- }
- public int Add(object wartosc)
- {
- if (licznik < zawartosc.Length)
- {
- zawartosc[licznik] = wartosc;
- licznik++;
- }
- return (licznik - 1);
- }
- public void Clear()
- {
- licznik = 0;
- }
- public bool Contains(object value)
- {
- throw new NotImplementedException();
- }
- public int IndexOf(object value)
- {
- throw new NotImplementedException();
- }
- public void Insert(int index, object value)
- {
- throw new NotImplementedException();
- }
- public bool IsFixedSize
- {
- get { throw new NotImplementedException(); }
- }
- public bool IsReadOnly
- {
- get { throw new NotImplementedException(); }
- }
- public void Remove(object value)
- {
- throw new NotImplementedException();
- }
- public void RemoveAt(int index)
- {
- throw new NotImplementedException();
- }
- public object this[int index]
- {
- get
- {
- throw new NotImplementedException();
- }
- set
- {
- throw new NotImplementedException();
- }
- }
- public void CopyTo(Array array, int index)
- {
- throw new NotImplementedException();
- }
- public int Count
- {
- get { throw new NotImplementedException(); }
- }
- public bool IsSynchronized
- {
- get { throw new NotImplementedException(); }
- }
- public object SyncRoot
- {
- get { throw new NotImplementedException(); }
- }
- public IEnumerator GetEnumerator()
- {
- throw new NotImplementedException();
- }
- }
- }
Add Comment
Please, Sign In to add comment