Hi,
Just getting familiar with the ToString method. I understand that the ToString method is used to convert the value of an object to a string type in a hopefully meaningful way. However what does this exactly mean, and during which cases can u not convert these values to a string type? Second of all, when you write:
public override string ToString()
what does the above statement exactly do?
Just getting familiar with the ToString method. I understand that the ToString method is used to convert the value of an object to a string type in a hopefully meaningful way. However what does this exactly mean, and during which cases can u not convert these values to a string type? Second of all, when you write:
public override string ToString()
what does the above statement exactly do?