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

My HTML document is not linking to my CSS stylesheet properly -

php array slice every 2th rule -

node.js - Sending sockets to client side, Error: Converting circular structure to JSON -