Default constructor for ExtendedRandom. This will generate a seed based on system time.

C# | Visual Basic | Visual Basic Usage | Visual C++ | J# | JScript |
public ExtendedRandom()
Public Sub New
Dim instance As New ExtendedRandom()
public: ExtendedRandom()
public ExtendedRandom()
public function ExtendedRandom()
TenneySoftware.ExtendedFunctions.ExtendedRandom = function();


using System; using TenneySoftware; using TenneySoftware.ExtendedFunctions; namespace Library_Test { class Program { public static ExtendedRandom rnd = new ExtendedRandom(); static void Main(string[] args) { Console.WriteLine("Seed: " + rnd.Seed); Console.WriteLine("Rnd: " + rnd.Next(100)); Console.Read(); /* Output: Seed: 706661452 (sample as number will vary) Rnd: 81 (sample as number will vary) */ } } }
