Why do I need to override ToString?
问题 I'm a beginner to c# programming and recently started working on a bachelors degree. What I'm trying to say is, I'm new. I have marked the place where I have the problem. The problem is that I don't understand why I need to put override in the code at all. There is 2 var of the type object (first and rest). public Pair() { first = rest = null; } public Pair(Object o) { first = o; rest = null; } public Object First() { return(first); } public Object Rest() { return(rest); } public Pair Connect