StatCounter

View My Stats
Showing posts with label How to add double quotes to a string that is inside a variable?. Show all posts
Showing posts with label How to add double quotes to a string that is inside a variable?. Show all posts

Saturday, February 14, 2009

How to add double quotes to a string that is inside a variable?

How to add double quotes to a string that is inside a variable?

We can use double quotes on the string.Example :


Declaration:
__________
string a="double quotes Example";

string b= "\""+a+"\"";


The out put is like this:
_________________
a= double quotes Example;

b= " double quotes Example";