摘要: CodeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> private static bool chkProvince(string str) { string[] arrCity = { "北京", "上海", "... 阅读全文
posted @ 2008-10-09 19:04 Mating_luo 阅读(1393) 评论(0) 推荐(0)
摘要: (一)使用字符串 C# 字符串是使用 string 关键字声明的一个字符数组。字符串是使用引号声明的,如下例所示: C# -------------------------------------------------------------------------------- string s = "Hello, World!"; 您可以提取子字符串和连接字符串,如下所示: C#... 阅读全文
posted @ 2008-10-09 10:11 Mating_luo 阅读(1172) 评论(0) 推荐(0)