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

git - Initial Commit: "fatal: could not create leading directories of ..." -

multithreading - OPAL (Open Phone Abstraction Library) Transport not terminated when reattaching thread? -