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

Popular posts from this blog

java - JavaScript + Thymeleaf - select onchange -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

node.js - Using Node without global install -