上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 63 下一页
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Collections;using System.Windows.Forms;namespace testset{ /// <summary> /// 对ListView点击列标题自动排序功能 /// </summary> public class ListViewHelper { /// <summary> /// 构造函数 /// </summary> p 阅读全文
posted @ 2013-04-11 19:07 Predator 阅读(584) 评论(0) 推荐(0) 编辑
摘要: usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text; namespaceConTest{classObjectOperation{publicstaticvoidChangeProperty(Students){s.Name="Iam";s.Age=23;}publicstaticvoidMain(){Students=newStudent(23,"甘全福");ChangeProperty(s);s.DisplayInfo();//输出Name:Iam 阅读全文
posted @ 2013-04-11 07:47 Predator 阅读(300) 评论(0) 推荐(0) 编辑
摘要: usingSystem; namespaceQuickArray{internalclassProgram{privatestaticunsafevoidMain(){//Console.Write("Howbiganarraydoyouwant?\n>");//stringuserInput=Console.ReadLine();//uintsize=uint.Parse(userInput);//sta//long*pArray=stackalloclong[(int)size];//for(inti=0;i<size;i++)//{//pArray[i]= 阅读全文
posted @ 2013-04-09 21:21 Predator 阅读(733) 评论(0) 推荐(0) 编辑
摘要: IAnimal p = new Manager(); p.ShowMsg();//输出Manager p = new Person();//输出Person p.ShowMsg(); Console.Read(); } interface IAnimal { void ShowMsg(); } class Person:IAnimal { public virtual void ShowMsg() { Console.WriteLine("Person"); } } class Manager:Person { public override void ShowMsg() 阅读全文
posted @ 2013-04-09 18:28 Predator 阅读(124) 评论(0) 推荐(0) 编辑
上一页 1 ··· 49 50 51 52 53 54 55 56 57 ··· 63 下一页