示例#1
0
文件: Form1.cs 项目: Lilot/WindowsApp
 private static int CalNumber()
 {
     {
         Random  random        = new SystemRandomSource();
         decimal MahjongNumber = (random.NextDecimal() * 42) + 1;
         Math.Round(MahjongNumber);
         return((int)MahjongNumber);
     }
 }