System. Random myRandom = new Random(unchecked((int)DateTime.Now.Ticks)); int yourandom = myRandom.Next(1,1380);