Random

Random random = new Random();

label.Content = random.Next(5,10);  

// 5,6,7,8,9