c# - Does ToString() produce a new string on when used on strings? -


what is "hello". Ostring () creates a new string or return it Is there enough reference to a reference to the same object?

To answer your question in the title: No.

According to the NAT reflector, by calling .oString () or .toString (IFormatProvider) on a string It just returns automatically


Comments