c#之密封类
2016-02-05 11:46
211 查看
7、sealed密封类
不能够被其他类继承,但是可以继承于其他类。
不能够被其他类继承,但是可以继承于其他类。
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace 密封类 { class Program { static void Main(string[] args) { } } public sealed class Person { } public class Test:Person { } }
相关文章推荐
- .net c# 提交包含文件file 的form表单 获得文件的Stream流
- c#之显示实现接口
- C#--遍历目录实例
- C#实现带进度条的ListView
- 简单实现C#异步操作
- C#版机房重构——七层登录
- C#版机房重构——数据类型
- C# 常用集合总结
- C#成神之路<11> C#循环重复语句
- C# enum
- C#去除字符串的最后一个字符
- C#基础
- ___90___旋转的秒针_Ratation_GDI绘制
- ___89___GraphicsPath_GDI矩阵变幻Transform
- ____88__Bitmap_Graphics_GDI绘制动态的圆
- ___87__UseBrush_GDI使用画刷
- __86__C#_Graphics_GDI图形编程基础
- ___85___PasteData使用剪切板
- 深入解析C#编程中泛型委托的使用
- ___84__读写注册表Registry