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

jQuery Mobile app not scrolling in Firefox -

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

how to receive file in java(servlet/jsp) -