how to stor particular string in variable

Posted by Oswaldlily under ASP.NET on 11/22/2011 | Points: 10 | Views : 1207 | Status : [Member] | Replies : 6
The interpretation of the data in a variable is controlled through "Types". .... Another useful feature of C# strings is the verbatim literal.Which is a string with a

From "ANother" till "literal" i need to stor in variable




Responses

Posted by: SheoNarayan on: 11/22/2011 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
I didn't get your question properly, however can you not store it into string variable?

string s = "Another useful feature of C# strings is the verbatim literal";


Here s is a variable.

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Anweshabhowmick on: 11/22/2011 [Member] Starter | Points: 25

Up
0
Down
I did not get your question.........can u explain it.

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Rajeev.Shukla on: 11/25/2011 [Member] Starter | Points: 25

Up
0
Down
While submitting your question, Please put some suitable example so that it is easy to solve for us.

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sksingh on: 11/25/2011 [Member] Starter | Points: 25

Up
0
Down
I did't get your question properly

but verbatim literal "@" usefull whenever we use "\" etc.
for example :
string filePath = @"C:\Users\Public\Music\Sample Music";


Regards,
Sunil

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: perfectchourasia-9163 on: 11/29/2011 [Member] Starter | Points: 25

Up
0
Down
You can store string in viewstate,session , or in string datatype variable.

ER sandeep chourasia
sandeepchrs@yahoo.com (on facebook)
http://www.aspnetcodes.com/

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Arefin on: 11/29/2011 [Member] Starter | Points: 25

Up
0
Down
Hi,

Actually I didn't get you question. Plz clarify the issue with details.

Thanks,
Arefin

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response