2008年4月18日

C#2.0中的泛型基础介绍

摘要: 泛型简介 泛型是C#2.0最为强大的特点之一。泛型使得我们定义类型安全(type-safe)的数据结构。因为我们可以重用数据处理的算法而无需关注数据的特定类型,从而提高开发效率和代码质量。从观念上讲,泛型类似欲C++中的模板,但是他们的实现和功能却有着很大的不同。 泛型问题描述 假设一种常用的数据结构,例如stack,他提供的经典method比如push和pop。 当我们想要开发... 阅读全文

posted @ 2008-04-18 14:40 飞天舞者 阅读(309) 评论(0) 推荐(0) 编辑

How to get MetaData on client side in WCF?如何在客户端获取WCF service的元数据

摘要: 1.Why do we need to get the metadata on client side? Sometimes the client need to programmatically verify whether a particular endpoint (identified by its address) supports a particular contract/o... 阅读全文

posted @ 2008-04-18 10:15 飞天舞者 阅读(405) 评论(0) 推荐(0) 编辑

导航

For more information about me, feel free email to me winston.he@hotmail.com