Hi all,
i have a very 'newbie' question... i have noticed that there are two ways to declare some of the basic types... ie. String and string, as well as Integer and int.
my question is are there any major differences/functionalities between the two types, or are they exactly the same thing?
cheers
adam
String and string different?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Mar 14, 2007, 7:53 PM EDT
They are the same thing; string is an alias that maps to System.String; you can use them interchangeably.
Posted Mar 15, 2007, 2:44 PM EDT
You should always spell the data types in lowercase letters, and as a reserved word if spelled correctly the data type will appear in a blue font.
BUT, there are actually a couple of data type declarations that the software will understand even if you start them with a capital letter: decimal; double; char; string; byte; and sbyte. If you start the spelling any of these data types with an uppercase letter the compiler will still understand them but, since they will not be spelled as per the list of reserved words, they will not appear in your code with a blue font.
Adam Grande23 reputationPosted Mar 15, 2007, 2:44 PM EDT
cheers for the help mate, we seem to be talking alot!
thanks again
adam
edit: cheers for the new response, i will keep that in mind in the future! :)