fork download
  1. using System;
  2.  
  3. public class Test
  4. {
  5. public static void Main()
  6. {
  7. var rand = new Random(5);
  8. Console.WriteLine("The answer will always be 36.");
  9. Console.WriteLine("Answer: " + rand.Next(30, 50));
  10. }
  11. }
Success #stdin #stdout 0s 29672KB
stdin
Standard input is empty
stdout
The answer will always be 36.
Answer: 36