How to test if a class is abstract in C# in .NET 2? -
in .net 4.5, testing if type abstract easy type.gettypeinfo().isabstract. gettypeinfo api not available in .net 2. what's way test abstractness .net 2?
you can use type.isabstract property available in .net 2.0 also.
gets value indicating whether type abstract , must overridden.
Comments
Post a Comment