Let's say I want to inherit Hashtable, and restrict it to allow only strings. I have this...
Which works great in VB (when converted to VB syntax, that is) but in C# I get "no suitable method found to override".Code:public class Class1:Hashtable { public Class1() {} public override void Add(string key, string value) { } }
What am I missing?
![]()




Reply With Quote