c# - Anonymous subclass -


how create instance of anonymous subclass in c#? let have base class bclass , want create instance of sublclass additional method , property? how possible do?

anonymous classes (aka anonymous types) can not extend class or implement interface.

if need inheritance or implement interface need create named class.


Comments

Popular posts from this blog

c - ALSA programming: how to stop immediately -

c++ - How to add Crypto++ library to Qt project -