occupy a method made ​​in migrating Visual Fox Pro emigrarlo to C #, the problem I have is how to know if the method in Visual Fox Pro:

```
Rand(intValue)

```

method is equal to dotNet:

```
Random r = new Random (intValue);
r.Next return ();

```

assuming that intValue = 971 the result generated in dotNET is 2027119, but I need to be equal to that return FoxPro. 

**Primary question**: 
how I can make sure I get the same result?

**Secondary question**:
Do you know of any online tool fox pro to prove that this method gives me result Rand ()?