Posted by Richard Thu 15th Mar 2007 15:49 - Syntax is C# - 22 views
Download | New Post | Modify | Show line numbers
private enum XXX {
        ETT = 1,
        TVA = 2
    } ;


    ...
    {
        XXX v;
        XXX? v2;
        v = (XXX)1;
        v2 = (XXX?)2;
        v2 = Convert.ChangeType(2, (XXX?)); // HOW???
    }

PermaLink to this entry https://pastebin.co.uk/11898
Posted by Richard Thu 15th Mar 2007 15:49 - Syntax is C# - 22 views
Download | New Post | Modify | Show line numbers

 

Comments: 0