Posted by Richard Thu 15th Mar 2007 15:49 - Syntax is C# - 17 views
Download | New Post | Modify | Hide line numbers
  1. private enum XXX {
  2.         ETT = 1,
  3.         TVA = 2
  4.     } ;
  5.  
  6.  
  7.     ...
  8.     {
  9.         XXX v;
  10.         XXX? v2;
  11.         v = (XXX)1;
  12.         v2 = (XXX?)2;
  13.         v2 = Convert.ChangeType(2, (XXX?)); // HOW???
  14.     }

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

 

Comments: 0