C# Abstract class with virtual and abstract properties | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

C# Abstract class with virtual and abstract properties

public abstract class BaseNum{ public abstract string Num{get; set;} public abstract int Numbase{get;set;} public virtual int Newnumbase{get;set;} public virtual string Newnum{ get; set;} } Is this right and what might Num look like in the subclass?

18th Mar 2018, 5:39 AM
SQrL
SQrL - avatar
1 Answer
+ 3
@David Carroll I found this code you created and this might be what I need to get past my hurdle. I am also wondering if you have a comment on my question above? https://code.sololearn.com/clvAW5RsP9qh/?ref=app
18th Mar 2018, 11:07 AM
SQrL
SQrL - avatar