摘要: // 版权所有 (C) Microsoft Corporation。保留所有权利。using System;using System.Collections.Generic;using System.Text;namespace AnonymousDelegate_Sample{ // 定义委托方法。 delegate decimal CalculateBonus(decimal sales); // 定义一个 Employee 类型。 class Employee { public string name; public decimal sales; public decimal bonus 阅读全文
posted @ 2010-04-26 18:00 Roader 阅读(270) 评论(0) 推荐(0) 编辑