Newlines in the Immediate Window
问题 Using Visual Studio 2010 Professional, 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? 回答1: Actually there is a way. You can use format specifiers in the immediate window to change the format of the display. If you have a string with carriage