Generate Random Between 09

 Random ra = new Random();

 ra.Next(0, 9);

原文地址:https://www.cnblogs.com/greencolor/p/1751762.html