thanks!"Etherous" wrote in message news:is8dbh$n22$1...@digitalmars.com...
You need to set it in a static constructor immutable string[int] MyDict;
static this () { MyDict = cast(string[int]) [ 1: "monday", 2: "tuesday" ]; }
thanks!"Etherous" wrote in message news:is8dbh$n22$1...@digitalmars.com...
You need to set it in a static constructor immutable string[int] MyDict;
static this () { MyDict = cast(string[int]) [ 1: "monday", 2: "tuesday" ]; }