Posted by Richard Thu 15th Mar 2007 15:55 - Syntax is Python - 41 views
Download | New Post | Modify | Hide line numbers
  1.     private enum XXX {
  2.         ETT = 1,
  3.         TVA = 2
  4.     } ;
  5.  
  6.  
  7.     protected void Page_Load(object sender, EventArgs e)
  8.     {
  9.         XXX v;
  10.         XXX? v2;
  11.         v = (XXX)1;
  12.         v2 = (XXX?)2;
  13.         v2 = Convert.ChangeType(2, typeof (XXX?));
  14.     }

PermaLink to this entry https://pastebin.co.uk/11899
Posted by Richard Thu 15th Mar 2007 15:55 - Syntax is Python - 41 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0