public class IShoes {
public string name {get; protected set;}
public virtual int NUM { get; protected set; }
}
public class WornShoe : IShoes {
public WornShoe() {
name = "Worn Shoes";
}
public override NUM {get{return 10;}}
}
i am unsure which one to use, i can either declare everything in public WornShore() (ex: name) or to override and virtual everything (ex: NUM). Can anyone give me advice on the advantages/disadvantages of either way? or suggest a different way.
i am sorry if i use the wrong terms