I've read through some of the other posts that are related but I don't believe I have the same problem that they do. I believe I'm doing my constructor for my inherited class properly, however it still won't work - and won't even recognize that I have a constructor there it seems.
class BlockedNumber : PhoneNumber
{
public BlockedNumber(string a, string m, string l)
: base(a, m, l) { }
}
This still gives me the error in the title:
"DTS.PhoneNumber does not contain a constructor that takes 0 arguments.
I don't know why it isn't recognizing my constructor properly. The error (blue underline in VS12) is on the first use of BlockedNumber
right after class
.
Does anyone have any idea why it doesn't like that?