上一页 1 ··· 12 13 14 15 16
摘要: for (int i = 1; i i; a--) // a这是个递减的 起始值是11 当i=1时 // a的值是11 输出11个空白 Console.Write(" ... 阅读全文
posted @ 2015-08-04 00:46 人走茶亦凉 阅读(301) 评论(0) 推荐(0) 编辑
摘要: namespace 奇偶判断{ class Program { static void Main(string[] args) { Console.Write("请任意输入个整数:"); int A = int.Pa... 阅读全文
posted @ 2015-08-02 20:00 人走茶亦凉 阅读(183) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication7{ class Program { static v... 阅读全文
posted @ 2015-07-31 22:36 人走茶亦凉 阅读(180) 评论(1) 推荐(0) 编辑
摘要: using System;namespace text2{ class Program { static void Main(string[] args) { int @int = 300; // 数据类型名 ... 阅读全文
posted @ 2015-07-30 21:40 人走茶亦凉 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 值类型和引用类型的区别举个例子 比如a1=18,这时候在内存中保存的是18,当把a1付给a2的时候,他们两个应用的是同一个内存空间,18会保存为a1的值,当把a2改为20是,应为a1和a2引用的是同一个值,所以a1也变成20了,这是引用类型 值类型是当把a1付给a2时 会为a2在开一块新的空... 阅读全文
posted @ 2015-07-30 20:27 人走茶亦凉 阅读(148) 评论(1) 推荐(0) 编辑
摘要: /转10进制 16进制转8进制 41BD(16) 5312.2(8) 4CD5.B3=4*163+1*162+11*161+... 阅读全文
posted @ 2015-07-29 17:21 人走茶亦凉 阅读(487) 评论(2) 推荐(1) 编辑
上一页 1 ··· 12 13 14 15 16