上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 泛型集合 { class Program { static void Main(string[] args) { //创建泛型集合对... 阅读全文
posted @ 2016-06-23 15:10 庚xiao午 阅读(91) 评论(0) 推荐(0) 编辑
摘要: class FangFa { /// /// 加法运算 /// /// 第一个数 /// 第二个数 /// public int JiaFa(int a, int b) { return a + b; } ... 阅读全文
posted @ 2016-06-20 14:22 庚xiao午 阅读(84) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 接口 { class Program { static void Main(string[] args) { //接口:就是一个规... 阅读全文
posted @ 2016-06-19 22:11 庚xiao午 阅读(108) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 多态 { class Program { static void Main(string[] args) { /* ... 阅读全文
posted @ 2016-06-19 17:15 庚xiao午 阅读(287) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 抽象类 { class Program { static void Main(string[] args) { //狗狗会叫,猫咪... 阅读全文
posted @ 2016-06-19 17:06 庚xiao午 阅读(163) 评论(0) 推荐(0) 编辑
摘要: namespace 多态 { public class Person { private string _name; public string Name { get { return _name; } set { _name = value; } } public Person(string na 阅读全文
posted @ 2016-06-19 16:57 庚xiao午 阅读(136) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 继承 { public class Person { //字段 private string _name; private int _ag... 阅读全文
posted @ 2016-06-18 14:12 庚xiao午 阅读(190) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 封装 { public class Person { //字段:存储数据 string _name; //类中的成员,如果不加访问修饰符,默认priv... 阅读全文
posted @ 2016-06-17 14:33 庚xiao午 阅读(150) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace 面向对象 { //创建person类 public class person { //Fields:字段 private string _... 阅读全文
posted @ 2016-06-16 23:04 庚xiao午 阅读(210) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections; using System.Collections.Generic; using System.Linq; using System.Text; namespace 复习CS_冒泡排序 { class Program { /// /// 题目: ... 阅读全文
posted @ 2016-06-16 21:42 庚xiao午 阅读(524) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页