Click here to Skip to main content
15,907,492 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
help me out

thanks in advance
Posted
Comments
MCY 9-Jan-11 15:12pm    
that is one of the most obscure questions I've seen around.
how? where? when?

1 solution

Console program -
void main(){
string myString = "string";
Console.WriteLine(myString);
Console.Read();
}


Forms -
string myString = "string";
MessageBox.Show(myString);
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900