随笔分类 -  C#

Binary Search Tree的C#实现
摘要://////////////////////// BST.cs//////////////////////using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace BST{ class node { public node left; public node right; ... 阅读全文

posted @ 2009-08-06 20:55 TobyLin的学习之路 阅读(544) 评论(0) 推荐(0)

delegate event 以及lambda expression的基本例子(synchronous invocation)
摘要:////////////////////// C#代码 Car.cs////////////////////using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace event_test{ class Car { private int speed; public Car(... 阅读全文

posted @ 2009-07-31 12:10 TobyLin的学习之路 阅读(236) 评论(0) 推荐(0)

C# event 的一个例子
摘要:using System;class EventClass{ //step1:create custom event args class(skip if system:EventArgs is used)#region custom event args class public class EventNameEventArgs:EventArgs { publi... 阅读全文

posted @ 2009-04-06 19:05 TobyLin的学习之路 阅读(517) 评论(0) 推荐(0)

导航