摘要: Compare 比较字符串的内容,考虑文化背景(场所),确定某些字符是否相等CompareOrdinal 与Compare一样,但不考虑文化背景Format 格式化包含各种值的字符串和如何格式化每个值的说明符IndexOf 定位字符串中第一次出现某个给定子字符串或字符的位置IndexOfAny 定位字符串中第一次出现某个字符或一组字符的位置LastIndexOf 与IndexOf一样,但定位最后一次出现的位置LastIndexOfAny 与IndexOfAny,但定位最后一次出现的位置PadLeft 在字符串的开头,通过添加指定的重复字符填充字符串PadRight 在字符串的结尾,通过添加指定 阅读全文
posted @ 2013-04-16 22:46 黄山红塔 阅读(183) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices;namespace ca001 { class Program { static void Main(string[] args) { Ini ini=new Ini(@"C:\Users\lenovo\Desktop\Demo11.ini"); //写入INI ini.Writue("Setting",&quo 阅读全文
posted @ 2013-04-16 14:37 黄山红塔 阅读(138) 评论(0) 推荐(0) 编辑