上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: static void Main(string[] args) { while (true) { /* string x; Console.WriteLine("请随便输入:"); ... 阅读全文
posted @ 2015-04-19 15:07 Yusarin 阅读(119) 评论(0) 推荐(0) 编辑
摘要: (一)数学类:Math1.Math.Ceiling(小数/整数):返回大于当前小数的最小整数2.Math.Floor(小数/整数):返回小于当前小数的最大整数Console.WriteLine(Math.Ceiling(3.14)); //4Console.WriteLine(Math.Floor... 阅读全文
posted @ 2015-04-19 14:58 Yusarin 阅读(185) 评论(0) 推荐(0) 编辑
摘要: for (int i = 1; i < =n-1; i++)////n个数需要循环n-1趟 , 每一趟都会找出最小的那个数 { for (int j = 1; j < =n-i; j++)// 每一趟都要n-i次,即俩俩调换的次数 ... 阅读全文
posted @ 2015-04-19 09:51 Yusarin 阅读(126) 评论(0) 推荐(0) 编辑
摘要: create database s2015041--创建数据库drop database XXXXXX--删除数据库use master--使用master数据库go--语句与语句的链接符号create table abb( code int not null,--列 name varchar(... 阅读全文
posted @ 2015-04-19 09:14 Yusarin 阅读(151) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication15//推箱子本质就是变量的相互替换,3个变量的循环赋值{ class Program { static void Main(string[] args) { ... 阅读全文
posted @ 2015-04-07 15:32 Yusarin 阅读(1499) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication18{ class Program { static void Main(string[] args) { ArrayList al = new ArrayList(); ... 阅读全文
posted @ 2015-04-07 15:31 Yusarin 阅读(144) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication1{ class Program { static void Main(string[] args) { int count = 0; Console.Writ... 阅读全文
posted @ 2015-04-07 15:30 Yusarin 阅读(241) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication9{ class Program { static void Main(string[] args) { string[,,] a=new string[2,2,3]; ... 阅读全文
posted @ 2015-04-03 11:53 Yusarin 阅读(501) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication10{ class Program { static void Main(string[] args) { double[] a = new double[10];新建一个10个数的... 阅读全文
posted @ 2015-04-03 11:52 Yusarin 阅读(361) 评论(0) 推荐(0) 编辑
摘要: namespace ConsoleApplication2{ class Program { static void Main(string[] args) { while (true) { ... 阅读全文
posted @ 2015-04-03 08:50 Yusarin 阅读(486) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页