C# C# 取自身版本 Ping检测网络 读取网络XML 自动更新 范例 private bool CheckUpdateServerState(string host) { ... 01月06日 阅读 3,708 发表评论 阅读全文
C# C# If Else, IF ElseIf Else语句 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 3,567 发表评论 阅读全文
C# C# Return return语句就是用于指定函数返回的值。return语句只能出现在函数体内,出现在代码中的其他任何地方都会造成语法错误! 当执行return语句时,即使函数主体中还有其他语句,函数执行也会停止! u... 12月15日 阅读 2,925 发表评论 阅读全文
C# C# 枚举,枚举和int以及string类型之间的转换 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 6,437 2 阅读全文
C# C# 数组 冒泡排序 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 2,164 发表评论 阅读全文
C# C# 结构 方法 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 1,880 发表评论 阅读全文
C# C# 三元表达式 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 1,969 发表评论 阅读全文
C# C# continue continue语句和break语句相似。所不同的是,它不是退出一个循环,而是开始循环的一次新迭代。 continue语句只能用在while语句、do/while语句、for语句、或者for/in语句... 12月15日 阅读 1,781 发表评论 阅读全文
C# C# FOR循环 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 1,736 发表评论 阅读全文
C# C# Break 跳出当前循环 using System; using System.Collections.Generic; using System.Li... 12月15日 阅读 2,000 发表评论 阅读全文