22 lines
306 B
C#
22 lines
306 B
C#
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;
|
|
}
|
|
}
|