摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading; ... 阅读全文
posted @ 2015-08-09 23:54 陈艺呵呵 阅读(293) 评论(0) 推荐(0)
摘要: 1 static void Main(string[] args) 2 { 3 string[] contains = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", "q", "w", "e", "r... 阅读全文
posted @ 2015-08-08 01:01 陈艺呵呵 阅读(283) 评论(0) 推荐(0)
摘要: 1 DateTime bdDT = new DateTime(); 2 DateTime timenow = DateTime.Now; 3 Console.WriteLine("请输入您的年龄"); 4 int age = ... 阅读全文
posted @ 2015-08-08 00:30 陈艺呵呵 阅读(274) 评论(3) 推荐(0)
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Threading; //关于线程的,不加不... 阅读全文
posted @ 2015-08-07 16:32 陈艺呵呵 阅读(132) 评论(0) 推荐(0)
摘要: 1 { 2 Console.WriteLine("请输入字符串"); 3 string strA =Console.ReadLine(); 4 Console.WriteLine("请输入要查找的字符串"); 5 ... 阅读全文
posted @ 2015-08-07 08:42 陈艺呵呵 阅读(985) 评论(0) 推荐(0)
摘要: !的用法随笔,不要胡思乱想 阅读全文
posted @ 2015-08-05 15:57 陈艺呵呵 阅读(120) 评论(0) 推荐(0)
摘要: 1 int i = 1, j = 1; 2 for (; i 9) 7 Console.Write(i + "×" +j + "=" + i * j + " "); //这里的if可令输出更加整齐,强迫症重度患者…… 8 ... 阅读全文
posted @ 2015-08-05 15:37 陈艺呵呵 阅读(210) 评论(0) 推荐(0)
摘要: 1 int x,m=0; //m负责计数,x是个倍数 2 Console.WriteLine("输入整除数字"); 3 int i = int.Parse(Cons... 阅读全文
posted @ 2015-08-05 15:36 陈艺呵呵 阅读(193) 评论(0) 推荐(0)