Hola gente, estoy haciendo un programilla en que quiero que me haga un random de dos Sessions.
    
Código C#:
Ver original- protected void Page_Load(object sender, EventArgs e) 
-         { 
-             Session["min"] = 5; 
-             Session["max"] = 15; 
-   
-             txt_min.Text = Session["min"].ToString(); 
-             txt_max.Text = Session["max"].ToString(); 
-   
-             Random  rand =-  new Random ();
-             int-  num1  = rand- . Next(int- . Parse(- Session ["max"]), int- . Parse(- Session ["max"]));
 
-   
-         } 
Nose si se pueden asignar directamente en el metodo Next la Session. 
gracias