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

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -