init
This commit is contained in:
21
Ubung/GenTecList.cs
Normal file
21
Ubung/GenTecList.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
namespace Ubung;
|
||||
|
||||
internal class GenTecList<T>
|
||||
{
|
||||
List<T> list = new List<T>();
|
||||
|
||||
public T GetValue(int index)
|
||||
{
|
||||
return list[index];
|
||||
}
|
||||
|
||||
public void AddValue(T value)
|
||||
{
|
||||
list.Add(value);
|
||||
}
|
||||
|
||||
public string GetType()
|
||||
{
|
||||
return typeof(T).Name;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user