摘要: string类型: string a="abcdefg"; int b=a.Length;//属性 长度 计算字符串的长度; Console.ReadLine(b); string c=a.Trim();//去掉前后空格; Console.ReadLine(c); string d=a.TrimEn 阅读全文
posted @ 2016-03-11 23:51 kevin2016 阅读(111) 评论(0) 推荐(0) 编辑