2017年9月28日

C#基础之枚举

摘要: using System; using System.Globalization; enum MyEnum { a, b, c } class Two { enum Bbb { x = 4, y, z = 99, xx, yy } public stati... 阅读全文

posted @ 2017-09-28 23:47 靖康耻 阅读(122) 评论(0) 推荐(0) 编辑

验证用户名不为空并且不存在

摘要: using System; using System.Globalization; using System.Linq.Expressions; class Program { public static void Main(string[] args) { var oneName = ""; var twoName = ""; ... 阅读全文

posted @ 2017-09-28 14:47 靖康耻 阅读(317) 评论(0) 推荐(0) 编辑

验证用户名和密码,输入三次不正确就锁定账号

摘要: using System; using System.Globalization; class Program { public static void Main(string[] args) { var count = 3; for (int i = 0; i /// 获得一个int类型的值 /// /// ... 阅读全文

posted @ 2017-09-28 14:35 靖康耻 阅读(366) 评论(0) 推荐(0) 编辑

c#基础

摘要: 1 using System; 2 using System.Globalization; 3 4 class Program 5 { 6 public static void Main(string[] args) 7 { 8 var year = GetInt(); 9 var month = 阅读全文

posted @ 2017-09-28 11:57 靖康耻 阅读(114) 评论(0) 推荐(0) 编辑

导航