1. Not Equal 比较两个实例是否相同
2。
private void button1_Click(object sender, System.EventArgs e)
{
const int COUNT = 10000;
int[] arrInts = new int[COUNT];
Random random = new Random();
for (int i = 0; i < arrInts.Length; i++)
{
arrInts[i] = random.Next((int)'a', (int)'z');
}
char[] arrChars = new char[arrInts.Length];
for (int i = 0; i < arrInts.Length; i++)
{
arrChars[i] = (char)arrInts[i];
}
System.Text.StringBuilder sb = new System.Text.StringBuilder();
sb.Append(arrChars);
richTextBox1.Text = sb.ToString();
}
[此贴子已经被作者于2006-4-11 13:32:35编辑过]