
|
The article really should have stressed that whilst strings are different from objects, they are only different because the string class overrides Equals, and this is a technique available to any class-writer.
I don't feel that the article really deals with this.
|
|
|
|

|
Very good input under the hoods thats what happens.I will update the article with this note. Thanks for adding value.
|
|
|
|

|
object o = ".NET Interview questions";
object o1 = new string(".NET Interview questions".ToCharArray());
Console.WriteLine(o == o1);
oops. a good explanation can be found here.
http://stackoverflow.com/a/3678810[^]
|
|
|
|

|
???? yes it is false....did i say anything different.
Skeet is Skeet...So i am a very small person to contradict him even in dreams.
|
|
|
|