摘要: 在C#中的Compare 比较两个指定的 string 对象,并返回一个表示它们在排列顺序中相对位置的整数。该方法区分大小写。 Compare的表示方式有两种 第一种方法:String.Compare(str1,str2) 返回值: 1 : str1大于str2 0 : str1等于str2 -1 阅读全文
posted @ 2018-05-23 23:28 殇爱 阅读(1139) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-27 20:05 殇爱 阅读(54) 评论(0) 推荐(0) 编辑
摘要: junit, hamcrest and eclemma. a) junit的安装 步骤: 1. 从http://www.junit.org/ 下载junit相应的jar包; 2. 在CLASSPATH中加入JAR包所在的路径,如E:\Java\jar\junit\junit-4.10.jar; 3. 阅读全文
posted @ 2018-03-25 22:35 殇爱 阅读(71) 评论(0) 推荐(0) 编辑