Double Quotes in string to display
Using the escape characters like
strSample = " \"Text\" "; (\" is an escape character " in c#)
string strSample =" "Text" ";
After getting the sting with character "Text" with Double Quotes.
Sample Code
string strSample = "\""+"Sample Text"+"\"";
Other Sample Code
string strSample = @"""Sample Text""";
The output should be displayed with string in double quotes.
Using the escape characters like
strSample = " \"Text\" "; (\" is an escape character " in c#)
string strSample =" "Text" ";
After getting the sting with character "Text" with Double Quotes.
Sample Code
string strSample = "\""+"Sample Text"+"\"";
Other Sample Code
string strSample = @"""Sample Text""";
The output should be displayed with string in double quotes.