Bonnie,
Thank you for your reply.
I guess I must have misunderstood overloading. I thought you could overload a method by having the same parameters but different return values. Like this:
private void myM()
{
MessageBox.Show("Void");
}
private int myM()
{
MessageBox.Show("int");
return (int)50;
}
but that is not the case, and I guess it makes sense after thinking a little about it <s>.
Again thank you for taking the time to answer my (silly <s>) question.
Sincerely,
Einar
>First, I don't see how you could overload a property. You can overload anything by specifying different parameters, but you cannot overload by specifying a different return data type. Since there are no parameters with a property, you can't overload it.
>
>Secondly, you wouldn't actually be overloading an overridden method ... if that method does not already have that particular signature, you couldn't override it. You'd just be creating a new method with a different signature without the override part.
>
>IOW, you can't say:
>
>public override MyMethod(DifferentParms)
>
>you'd just have
>
>public MyMethod(DifferentParms)
>
>Does this make sense?
>
>~~Bonnie
>
>
>>I have attempted to overload an override property and apparently that is not possible (compiler error). Is this correct?
>>I have not tried it yet but I assume it is possible to overload an overridden method. Please confirm.
>>
>>Einar
Semper ubi sub ubi.