This commit is contained in:
2023-03-27 00:19:30 +02:00
parent 01a926d316
commit df33170f71
28 changed files with 543 additions and 125 deletions

View File

@@ -0,0 +1,36 @@
namespace Profiles
{
abstract class IList<T>
{
protected T[] list;
public int Length
{
get
{
return list.Length;
}
}
public T this[int index]
{
get
{
return list[index];
}
}
public IList()
{
this.list = new T[0];
}
public abstract void Add(T item);
public abstract void Remove(T item);
public abstract T SearchByName(string name);
public void Clear()
{
list = new T[0];
}
}
}