Erstmal einen Konstruktor für TEinType:
Code:
struct TEinType
{
public string Name;
public int SequenceNumber;
public TEinType(string Name,int SequenceNumber)
{
this.Name=Name;
this.SequenceNumber=SequenceNumber;
}
}
class ...
{
TEinType[] TTypenArray = new TEinType[]{new TEinType("Ein Name",100), new TEinType("Noch ein Name",200)};
}