摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication58{ class Program { static ... 阅读全文
posted @ 2015-08-05 20:37 MySpace2015 阅读(303) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication55{ class Program { static ... 阅读全文
posted @ 2015-08-05 19:56 MySpace2015 阅读(141) 评论(0) 推荐(0) 编辑
摘要: string strA = "";//空字符串 int 1 = strA.Length;//属性,不带括号 Console.ReadLine();//方法或函数,带括号 strA = st... 阅读全文
posted @ 2015-08-05 19:46 MySpace2015 阅读(75) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication42{ class Program { static ... 阅读全文
posted @ 2015-08-04 20:55 MySpace2015 阅读(354) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication25{ class Program { static ... 阅读全文
posted @ 2015-08-03 20:17 MySpace2015 阅读(376) 评论(0) 推荐(0) 编辑
摘要: 3.电信运营商客服电话using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication11{ class Program { ... 阅读全文
posted @ 2015-08-01 20:46 MySpace2015 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 2.判断奇偶数using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication10{ class Program { ... 阅读全文
posted @ 2015-08-01 20:45 MySpace2015 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1.三个数中选最大值using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication18{ class Program { ... 阅读全文
posted @ 2015-08-01 20:44 MySpace2015 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 举个例子 比如a1=18,这时候在内存中保存的是18,当把a1付给a2的时候,他们两个应用的是同一个内存空间,18会保存为a1的值,当把a2改为20是,应为a1和a2引用的是同一个值,所以a1也变成20了,这是引用类型。 值类型是当把a1付给a2时 会为a2在开一块新的空间保存a1的值。当把... 阅读全文
posted @ 2015-07-30 20:42 MySpace2015 阅读(203) 评论(1) 推荐(0) 编辑
摘要: 作业一:将下列进制转成十进制1.十六进制41BD(16)转换成十进制411113=4x16^3+1x16^2+11x16^1+13x16^0=16384+256+176+13=168292.十六进制A10CB(16)转换成十进制10101211=10x16^3+10x16^2+12x16^1+11x... 阅读全文
posted @ 2015-07-28 21:28 MySpace2015 阅读(408) 评论(1) 推荐(0) 编辑