Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

string versus String !

Status
Not open for further replies.

q1212

Programmer
Mar 20, 2009
14
RO
string versus String !
I have a question (a little embarrassing because I see it so late), what is the difference between String and string ? not in the way that String is a Class and string is a reference type. But rather how to think about them in the term of uses.

I searched and find this piece of gold, but I don't know how to use it very well:
Use "String" to refer specifically to the String class.
Use "string" when referring to an object of the String class.

How to use them, accordingly?
thanks again.
 
look over this file and tell me how are you thinking in improve it !
I spend an entire night at it.
The idea is to have a MAP (on the paper) and rapidly look over it and "remember" what i must to put when I need it.
it's like a pocket reminder(a very tiny little map).


of course in time must be the answer....if any...hope so... :)
thanks again.
 
string is a C# keyword which just maps to System.String. much like int actually maps to System.Int32
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top