E
Elmar Jacobs
hi folk,
i try to realise a dict arry for different languages in my program. for
example
private static dictEntry [] _dict = {
{osdtext_intro, @"hallo world", @"hallo welt"};
};
with dictEntry =
public struct dictEntry {
public int ID;
public string [] text = new string[2];
};
My problem: I can't allocate memory for the strings in the dictEntry. But my
main target is to realise a structure like _dict.
Can anybody help me?
Lot of thanks,
elmar
i try to realise a dict arry for different languages in my program. for
example
private static dictEntry [] _dict = {
{osdtext_intro, @"hallo world", @"hallo welt"};
};
with dictEntry =
public struct dictEntry {
public int ID;
public string [] text = new string[2];
};
My problem: I can't allocate memory for the strings in the dictEntry. But my
main target is to realise a structure like _dict.
Can anybody help me?
Lot of thanks,
elmar