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
Post a Comment