12 2015 档案

摘要:18身份证号码的结构 公民身份号码是特征组合码,由十七位数字本体码和一位校验码组成。 排列顺序从左至右依次为:六位数字地址码,八位数字出生日期码,三位数字顺序码和一位校验码。1、地址码 表示编码对象常住户口所在县(市、旗、区)的行政区域划分代码,按GB/T2260的规定执行。2、出生日期码 ... 阅读全文
posted @ 2015-12-24 02:13 翻滚吧炒鸡蛋 阅读(621) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-22 10:43 翻滚吧炒鸡蛋 阅读(1025) 评论(0) 推荐(0)
摘要:窗体设计:代码: 1 using System; 2 using System.Collections.Generic; 3 using System.ComponentModel; 4 using System.Data; 5 using System.Drawing; 6 using Syste... 阅读全文
posted @ 2015-12-20 23:53 翻滚吧炒鸡蛋 阅读(614) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-20 20:15 翻滚吧炒鸡蛋 阅读(727) 评论(6) 推荐(0)
摘要:winform:---------------------------------------------------Button控件:属性:BackColor: 背景颜色BackgroundImage: 设置背景图片BackgroundImagelayout: 背景图片的显示样式Cursor: 鼠... 阅读全文
posted @ 2015-12-19 02:44 翻滚吧炒鸡蛋 阅读(263) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-19 00:34 翻滚吧炒鸡蛋 阅读(456) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 22:55 翻滚吧炒鸡蛋 阅读(327) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 19:29 翻滚吧炒鸡蛋 阅读(1337) 评论(0) 推荐(0)
摘要:没有ref的方法时: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespac... 阅读全文
posted @ 2015-12-18 14:33 翻滚吧炒鸡蛋 阅读(355) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 14:19 翻滚吧炒鸡蛋 阅读(291) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 12:21 翻滚吧炒鸡蛋 阅读(1355) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 11:43 翻滚吧炒鸡蛋 阅读(251) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-18 11:12 翻滚吧炒鸡蛋 阅读(355) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-17 15:00 翻滚吧炒鸡蛋 阅读(284) 评论(0) 推荐(0)
摘要:F5运行设置断点,在断点暂停F10 (逐过程)当遇到方法调用时不再进去,直接运行,不进里面调试F11 (逐语句)当遇到方法调用时进去Shift+F11 (跳出)跳出所在方法 阅读全文
posted @ 2015-12-17 14:36 翻滚吧炒鸡蛋 阅读(136) 评论(0) 推荐(0)
摘要:定义方法的语法://Public []括号表示可选,可用可不用[访问修饰符][static]返回值类型 方法名([参数]){ 方法体}注意:方法一般要定义在类中如果方法没有返回值,则返回值类型写void如果方法没有参数,()不能省略方法的调用:如果是静态方法(由static修饰的)则使用 类名... 阅读全文
posted @ 2015-12-17 12:11 翻滚吧炒鸡蛋 阅读(218) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace ConsoleA... 阅读全文
posted @ 2015-12-17 03:16 翻滚吧炒鸡蛋 阅读(252) 评论(3) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 临时 8 { 9... 阅读全文
posted @ 2015-12-16 08:08 翻滚吧炒鸡蛋 阅读(281) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 临时 8 { 9... 阅读全文
posted @ 2015-12-16 05:05 翻滚吧炒鸡蛋 阅读(367) 评论(0) 推荐(0)
摘要:编写一个窗体应用程序,计算n的阶乘,显示其结果,同时,将结果显示在一个标签中。新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算阶乘演示”label2的Text属性改为“请输入需要的阶乘数”... 阅读全文
posted @ 2015-12-14 23:55 翻滚吧炒鸡蛋 阅读(626) 评论(0) 推荐(0)
摘要:新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算闰年演示”label2的Text属性改为“输入年份”button1的Text属性改为“确定”button1的Text属性改为“退出”完整代码... 阅读全文
posted @ 2015-12-14 20:54 翻滚吧炒鸡蛋 阅读(434) 评论(11) 推荐(0)
摘要:新建窗体应用程序(如下),新建控件label1,label2,label3,label4,label5,textBOX1,textBOX2,button1,button2label1的Text属性改为“随机数演示”label2的Text属性改为“最大值”label3的Text属性改为“最小值”lab... 阅读全文
posted @ 2015-12-14 11:51 翻滚吧炒鸡蛋 阅读(579) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 21:15 翻滚吧炒鸡蛋 阅读(367) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 04:27 翻滚吧炒鸡蛋 阅读(331) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 02:58 翻滚吧炒鸡蛋 阅读(459) 评论(0) 推荐(0)
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace do_while... 阅读全文
posted @ 2015-12-09 01:14 翻滚吧炒鸡蛋 阅读(321) 评论(0) 推荐(0)
摘要:例子:用c#语言写一个1-16 随机数的程序. 逐个输出且不重复 简单双色球号码生成器:: 双色球随机号码生成器(增加自动选号和手动选号 然后和中奖号码进行对比 确定中奖没): 阅读全文
posted @ 2015-12-08 08:36 翻滚吧炒鸡蛋 阅读(373) 评论(0) 推荐(0)
摘要:比较两个数的大小,自定义比较两个整数的大小的方法:如果第一个数大,返回1如果相等返回0如果第一个数小,返回-1在Main()方法中输入两个数,调用这个方法示例: 请输入两个数: 45 56 第二个数大 按任意键继续...... 1 using System; 2 using System.... 阅读全文
posted @ 2015-12-04 11:43 翻滚吧炒鸡蛋 阅读(1156) 评论(0) 推荐(0)