I don't even know anymore

This commit is contained in:
Miskolczi Richárd
2023-03-24 12:01:08 +01:00
parent 911b3fc819
commit 91c6f339ba
10 changed files with 116 additions and 28 deletions

38
Password Manager/IList.cs Normal file
View File

@@ -0,0 +1,38 @@
using System;
namespace Password_Manager
{
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];
}
}
}