>Hi,
>
>Just realized that my reply to Charles had nothing to do with the question :-}
>I think the true answer is that the String class must have an operator overload for type Object that returns a new string with Object.ToString() appended. Silly e.g.:
public class MyClass
> {
> public override string ToString()
> {
> return "World";
> }
> }
then:
string s1 = "Hello ";
> s1 = s1 + new MyClass();
>
>>>
That's what I was thinking too
something like
public static implicit operator string(object obj)
{
return obj.ToString();
}
Gregory