R
Romain TAILLANDIER
Hi group
I have interface IMyClass.
IMyClass have a ToString() method
then i have MyClasse : IMyClass
how to declare the .ToString method in MyClass ?
i try
public virtual override ToString() {...}
public override ToString() {...}
public virutal ToString() {...}
after some reflection i think i have the good answer
I think I must not declare ToString in the interface because it is herited
from object, so i suppose i have to declare
public override ToString() {...}
in MyClass
can somebody confirm please ?
thanks
ROM
I have interface IMyClass.
IMyClass have a ToString() method
then i have MyClasse : IMyClass
how to declare the .ToString method in MyClass ?
i try
public virtual override ToString() {...}
public override ToString() {...}
public virutal ToString() {...}
after some reflection i think i have the good answer
I think I must not declare ToString in the interface because it is herited
from object, so i suppose i have to declare
public override ToString() {...}
in MyClass
can somebody confirm please ?
thanks
ROM