C
C#3y ago
Ted Bunny

CS0229 false positive?

Why is there an ambiguity here if there's only one member with that name?
6 Replies
Becquerel
Becquerel3y ago
i'm guessing because your hairstyletypes in this class is overriding a member with the same name in the parent class you would specify it with the this. prefix
Ted Bunny
Ted BunnyOP3y ago
I've never had that issue with an override before
Becquerel
Becquerel3y ago
me neither but it's all I can think of from that screenshot
reflectronic
reflectronic3y ago
what exactly does T_Hairstyle look like
Groophy
Groophy3y ago
String[] don't have count properties, you can use lenght
Ted Bunny
Ted BunnyOP3y ago
It looks like there was another class named identically. Sorry for the mixup!
Want results from more Discord servers?
Add your server