C# 汉字打字测试 求高手指点迷津!!!急急急!!! 一个textbox,一个richtextboxtextbox里面有设置好的汉字,在richtextbox里输入汉字,错的就会变红。如果是字母的话,就很简单了,但是汉字就不知怎么下手了。求高手指点迷津!!! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 汉字和字母有什么区别呢。。 string s1 = "我是煞笔。。"; string s2 = "我屎煞笔。。"; Console.WriteLine(s1[1] == s2[1]); private void rtx_TextChanged(object sender, EventArgs e) //文本框改变事件 { int index = this.rtx.SelectionStart; //记录修改的位置 this.rtx.SelectAll(); this.rtx.SelectionColor = Color.Red; this.rtx.Select(index, 0); this.rtx.SelectionColor = Color.Black; } 16个数字选5个怎么实现 串口类的发送问题! 使用反射执行WCF接口,int型得到的结果总是0 求助array.equals问题 与SQL联接问题 怎样生成帮助文件 说说个人对IL的理解,我从来不去浪费时间去研究.NET的IL..因为我认为它就是别人的为了解决某一个问题(可能是跨平台或适应所有机器)而用编译器生成的一堆"乱码 关于插件模式的实现。 框架网页刷新的问题,UP有分!! 强制类型转换与重载!!! c#windows 连接到sql server 2008 的方法 在一论坛上看到的问题!!!
string s2 = "我屎煞笔。。";
Console.WriteLine(s1[1] == s2[1]);
{
int index = this.rtx.SelectionStart; //记录修改的位置
this.rtx.SelectAll();
this.rtx.SelectionColor = Color.Red; this.rtx.Select(index, 0);
this.rtx.SelectionColor = Color.Black; }