加好友 发纸条
写留言 加关注
首先我没有考虑统计算法,而是想怎么用c#中较为简单的方法去实现。考虑到C#中字符串类String的方法
Split,通过测试确实能完成字母的频次统计以下是源码。
private void button3_Click(object sender, EventArgs e) { String CharStrArray=''; int[] t=new int[