pick random number between 1 and 10 c# code example Example: c# get random between 0 and 1 double test = random.NextDouble();