q12 Posted August 14, 2009 Posted August 14, 2009 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. Quote
Administrators PlausiblyDamp Posted August 14, 2009 Administrators Posted August 14, 2009 (edited) In a nutshell there is no difference. System.String is the underlying type specified by the .Net runtime (CLR) while string is just the C# keyword for the same thing. Same way that int in C# is the same as Integer in VB.Net and both are really System.Int32 as far as the CLR is concerned. Edited October 13, 2009 by PlausiblyDamp Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
q12 Posted August 14, 2009 Author Posted August 14, 2009 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). http://www.sendspace.com/file/p56n1r of course in time must be the answer....if any...hope so... :) thanks again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.