计算机与现代化 ›› 2009, Vol. 1 ›› Issue (12): 75-77,8.doi: 10.3969/j.issn.1006-2475.2009.12.020

• 软件工程 • 上一篇    下一篇

深入解析C#中的 Abstract Class与Interface

李 凌
  

  1. 淮北职业技术学院计算机系,安徽 淮北 235000
  • 收稿日期:2009-05-25 修回日期:1900-01-01 出版日期:2009-11-27 发布日期:2009-11-27

Thorough Analysis on Abstract Class and Interface of C#

LI Ling
  

  1. Computer Science Department, Huaibei Vocational and Technical College, Huaibei 235000, China
  • Received:2009-05-25 Revised:1900-01-01 Online:2009-11-27 Published:2009-11-27

摘要: Abstract Class与Interface是C#提供的两种抽象类定义机制。Abstract Class与Interface在抽象类定义方面具有很大的相似性,本文对二者的解析,为开发者提供了在它们之间进行选择的依据。

关键词: 抽象类, 接口, 继承

Abstract: Abstract Class and Interface are two abstract class definition mechanisms provided by C#. There are a lot of similarities between the two definitions. The analysis on them furnishes the basis for the developers to choose between them.

Key words: abstract class, interface, inheritance

中图分类号: