" and \ in the string

string str = @"C:\Windows";

string str = "C:\\Windows";

In order to express string:       abc"def

string str = "abc\"def";

string str = @"abc""def";

原文地址:https://www.cnblogs.com/greencolor/p/1648895.html