Hello
I know how to seed the random number generator, so as to get the same sequence every time.
This is what I would like to know.I want to know what value was used so I can set the seed to it and repeat the random sequence, if needed or just continue on. By the way I am using this to test and debug a program.Code:Option Explicit On Option Strict On Imports System.Math Public Class Form1 Dim rng As New Random Private Sub shuffleCards() Dim rng As New Random end sub
When I try to find it out I get error messages.(Error 1 Value of type 'System.Random' cannot be converted to 'Decimal'.)
Thanks in advance
George