摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2015-06-18 15:43 蓝瑟黄昏 阅读(134) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2015-06-18 15:41 蓝瑟黄昏 阅读(124) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication1 { class Program { static void Main(s... 阅读全文
posted @ 2015-06-18 15:40 蓝瑟黄昏 阅读(195) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 老狼老狼_几点了 { class Program { static void Main(string[] arg... 阅读全文
posted @ 2015-06-18 13:57 蓝瑟黄昏 阅读(160) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 判断是否中奖 { class Program { static void Main(string[] arg... 阅读全文
posted @ 2015-06-18 13:54 蓝瑟黄昏 阅读(134) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 判断体重偏轻中 { class Program { static void Main(string[] args... 阅读全文
posted @ 2015-06-18 13:52 蓝瑟黄昏 阅读(170) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 判断闰平年 { class Program { static void Main(string[] args) ... 阅读全文
posted @ 2015-06-18 13:49 蓝瑟黄昏 阅读(310) 评论(0) 推荐(0)
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 24小制转12小时制 { class Program { //内函数:它是程序的入口 ... 阅读全文
posted @ 2015-06-18 13:47 蓝瑟黄昏 阅读(307) 评论(0) 推荐(0)
摘要: 小写string:字符串 String类:是一个class类型,是.net设计人员, 提前造好的一个class类型的数据类型模板功能作用:处理字符串的一系列方法和属性Length 获取字符串的长度,返回一个int类型的值方法:通过字符串变量直接加 . ,就可以点出调用 小扳手:属性 紫色立方体:方法... 阅读全文
posted @ 2015-06-18 08:45 蓝瑟黄昏 阅读(107) 评论(0) 推荐(0)
摘要: 顺序语句:一行行执行条件语句:选择分支if语句1、 if(....)//括号内是判断条件 { //程序代码,运算等等} 2、if(....)//括号内是判断条件 { //程序代码,运算等等} else//如果不满足条件则执行这里的代码 { //程序代码,运算等等}3、 if...... else ... 阅读全文
posted @ 2015-06-17 16:47 蓝瑟黄昏 阅读(216) 评论(0) 推荐(0)