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 - Null response to php query in android, even though php works properly -

node.js - Using Node without global install -

php - CakePHP HttpSockets send array of paramms -