VS2010: Newlines in the Immediate Window

Posted by Bob Kaufman on Stack Overflow See other posts from Stack Overflow or by Bob Kaufman
Published on 2010-05-19T19:48:00Z Indexed on 2010/05/19 19:50 UTC
Read the original article Hit count: 299

I have a ToString() method that looks like this:

public override string ToString()
{
    return "something" + "\n" + "something";
}

Because there are several "something"'s and each is long, I'd like to see

something
something

Sadly, I'm seeing

"something\nsomething"

Is there a way to get what I want?

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about immediate-window