接口属性

interface IEmployee{ string Name { get; set; } int Counter { get; }}public class Employee : IEmployee{ public static int numberOfEmployees; private string name; public string Name // read-write instance property { get { return name; } set { name = value; } } private int counter; public int Counter /
posted @ 2008-09-22 17:35  .NET快速开发框架  阅读(659)  评论(0编辑  收藏  举报