Save Generated Random/Time Numbers for later use?
===

Ok so I would like to save generated number from this code

    Random r = new Random();
    int srandom = r.Next(2147483647);
    Globals8.GlobalInt8 = srandom;

This is to be able to use it any where in the project:
 

      public static class Globals8
            {
               public static int GlobalInt8 { get; set; }
           }

I want it to generate random number once and save it, so everytime I call Globals8.GlobalInt8 it will be the same, only once generated number :)

And I would like to implement same logic for

    long epochTime = (long)(DateTime.Now.ToUniversalTime() - new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc)).TotalSeconds;

To get time when ever I need and use it later (Same time numbers)

Thanks a lot!