摘要:
//练习1:截取生日 Console.Write("请输入你的身份证号码:"); string id = Console.ReadLine(); Console.WriteLine("你的生日是:" + id.Substring(6, 4) + "年" + id.Substring(10, 2) + "月" + id.Sub... 阅读全文
posted @ 2016-05-07 22:00
庚xiao午
阅读(1543)
评论(0)
推荐(0)
摘要:
//String类: string s = " Hello ",k="123"; //字符串的长度:.Length Console.WriteLine("字符串的长度:" + s.Length); //去掉开头和结尾的空格:.Trim() Console... 阅读全文
posted @ 2016-05-07 21:08
庚xiao午
阅读(240)
评论(1)
推荐(0)

浙公网安备 33010602011771号