c++ code translation to c# : Randomizer
                            
                         
                        
                     
                 
                
                    Hi all,
 
   I would like to translate the following c++ code lines to c#
   :
      uint32 v;
      int max_array = SCREEN_WIDTH * SCREEN_HEIGHT;
      v = (int)(max_array * (rand()/RAND_MAX+1.0)));
   all ideas are welcome. thanks a lot in advance.
br
alex