Howdy,
I have a public static class in which I would like to have a ToString() method.
I have defined it as public static string ToString(), but get the following warning:
'Class.ToString()' hides inherited member 'object.ToString()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword.
If I add the override keyword I get this error instead:
A static member 'Class.ToString()' cannot be marked as override, virtual, or abstract
How do I get rid of that warning and let my static class have the ToString() method.
Thank you,
Keith