Vb.net/C# make classes store value types -
i need declare class properties stored value types. need make class inheritable, can't make structure.
class myclass ... end class class inheritingclass inherits myclass ... end class
is there other way without converting structure , using interfaces? (example below)
structure mystructure implements myinterface ... end structure structure inheritingstructure implements myinterface ... end structure interface myinterface ... end interface
ps: can post answer in c# if don't know vb
if need type value-type, there no other way making struct
.
maybe, if give more context, leading question, might find better solution actual problem.
Comments
Post a Comment