很多论坛里都有朋友询问有关random实现随机取数的算法原理,因为工作的需要,参考了网络的文章写了一个简单的code,如下:
using
System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace RandomFunction
... {
public partial class Random : Form
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
namespace RandomFunction
... {
public partial class Random : Form