This repository has been archived on 2025-09-26. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Password-Manager-Legacy/Password Manager/IList.cs

39 lines
674 B
C#
Raw Normal View History

2023-03-24 12:01:08 +01:00
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];
}
}
}