Johnny with dotnet

2010年7月12日

数据结构之二叉树

摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassNode{publicintData{get;set;}publicNodeLeftNode{get;set;}publicNodeRightNode{get;set;}publ... 阅读全文

posted @ 2010-07-12 16:54 JohnnyNet 阅读(122) 评论(0) 推荐(0) 编辑

c#类与结构的区别

摘要: 1,类中的变量默认是private,结构则是public; 2,class是引用类型,struct是值类型。 3,结构不能从另一个类或者结构继承。也不能被继承。但是可以继承接口。 4,机构没有默认构造函数,但是可以添加构造函数。没有析构函数。不能使用abstruct和saaled,不能使用prote... 阅读全文

posted @ 2010-07-12 11:51 JohnnyNet 阅读(145) 评论(0) 推荐(0) 编辑

数据结构之螺旋对列

摘要: 代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> static int foo( int x,... 阅读全文

posted @ 2010-07-12 11:30 JohnnyNet 阅读(127) 评论(0) 推荐(0) 编辑

导航