07 2012 档案

.net(数组)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication8{ class Program { static void Main(string[] args) { // 数组定义的三个方式 int[] array1 = { 1, 2, 3, 4, 5 }; int[] array2 = new int[5]; ... 阅读全文

posted @ 2012-07-10 19:13 Yours风之恋 阅读(232) 评论(0) 推荐(0)

.net(基本数据类型,枚举类型,枚举字符串的相互转化)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication3{ /// /// /// class Program { /// /// /// /// static void Main(string[] args) { Cat cat = new Cat(); ... 阅读全文

posted @ 2012-07-10 09:06 Yours风之恋 阅读(473) 评论(0) 推荐(0)

.net(三个简单的作业)
摘要:1,读入一个小数,将小数部分和整数部分交换:例如 3.14 ---〉14.3using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestExchange{ class Program { static void Main(string[] args) { while (true) { // 1,从控制台读入一个小数,存放在 testDouble 中 ... 阅读全文

posted @ 2012-07-10 08:55 Yours风之恋 阅读(222) 评论(0) 推荐(0)

.net(关于字符串的相等问题[比较重要])
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestString{ class Program { static void Main(string[] args) { string a = "hello"; string b = "h"; b +="ello"; string c = "hello"; if ... 阅读全文

posted @ 2012-07-10 08:45 Yours风之恋 阅读(204) 评论(0) 推荐(0)

.net(从控制台读入两个数,实现加减乘除)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace TestClaclulate{ class Program { static void Main(string[] args) { // 1,定义double变量 double numberOne; double numberTwo; // 2,从控制台获得两个数 ... 阅读全文

posted @ 2012-07-10 08:42 Yours风之恋 阅读(276) 评论(0) 推荐(0)

.net(枚举和switch结构)
摘要:using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication5{ class Program { static void Main(string[] args) { Gender sex = Gender.F; switch (sex) { case Gender.M: ... 阅读全文

posted @ 2012-07-10 08:36 Yours风之恋 阅读(223) 评论(0) 推荐(0)

.net 概述
摘要:1,版本说明2,版本和依赖关系3,.net Framework 体系架构 阅读全文

posted @ 2012-07-09 21:46 Yours风之恋 阅读(155) 评论(0) 推荐(0)