protected void Page_Load(object sender, EventArgs e) { //用Equals比较字符串的比较 相等为true,不相等为false string str = "abc"; string str1 = "abC"; string str2 = "abc"; bool st = str.Equals(str1); bool st1 = str.Equals(str2); Response.Write(st); //false Response.Write(st1); //true }
相关资源:敏捷开发V1.0.pptx