Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
1.80/5 (2 votes)
See more:
C#
string s = "Hello, Aarif";

String S = "Hello, Aarif";
Posted
Comments
Kornfeld Eliyahu Peter 4-Sep-14 3:30am    
You tell us!

Google is your friend - visit him frequently (sorry OG)...
MSDN:
The string type represents a sequence of zero or more Unicode characters. string is an alias for String in the .NET Framework.
 
Share this answer
 
Comments
thatraja 4-Sep-14 3:34am    
5!
And I think I should create my own template(like OG's) to answer questions like this
Kornfeld Eliyahu Peter 4-Sep-14 3:36am    
Thank you!
Nothing: string and String refer to the same class and can be used interchangeably in C#
In the same way, int and Int32 are also interchangeable, and so forth.
 
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