I’m banging my head here..
Given in C#…
public class ClassA
{
public override string toString()
{
return "use this toString()!";
}
}
When I try to build this it tells me: “ClassA.toString(): no suitable method found to override.”
How do you override the default toString in C# if not this?
The correct method is
ToString