不能被继承的类:
static class {}
sealed class {}
class x{ private x(){} }
static class {}
sealed class {}
class x{ private x(){} }
不能被实例化的类:
static class {}
abstract class {}
class x{ private x(){} }
interface {}
Sithere的DotNet学习历程
DotNet Studing
|
|
|