i need some help with generating random numbers serverside:
i use this, but it only gives me the 1 same random number again and again prolly because its always the same 1st number from the random table created. However if i try to take the random object out of the function and initialize it before i cant acces it afterwards because of static beeing prevented... im really new to c sharp =P help please
public static int getr(int min, int max)
{
Random r = new Random();
return r.Next(min, max);
}