🜲 Samapico Posted December 18, 2007 Report Posted December 18, 2007 What's the difference between the 2 types? Should we use one in particular? http://upload.wikimedia.org/wikipedia/commons/thumb/8/88/Half-Life_Black_Mesa_logo.svg/120px-Half-Life_Black_Mesa_logo.svg.pngDCME co-developerSSCU 17th Parallel sysop
★ doc flabby Posted December 18, 2007 Report Posted December 18, 2007 They are both the same. string is simply an alias of String. Similar to how int is an alias of Int32. Personally I use string. Rediscover online gaming. Get Subspace.Owner of the PlaySubSpace Network (level 0 BanG) and PSSF server
★ D1st0rt Posted December 18, 2007 Report Posted December 18, 2007 I use string for declarations and String for static methods _UU___UU__SSSSS____AAA____UU___UU__SSSSS____AAA____UU___UU_SS_______AAAAA___UU___UU_SS_______AAAAA___UU___UU__SSSSS__AA___AA__UU___UU__SSSSS__AA___AA__UU___UU______SS_AAAAAAA__UU___UU______SS_AAAAAAA___UUUUU___SSSSS_AA____AA___UUUUU___SSSSS_AA____AAJ.C. Dento> prime example of why america will never be a world super power.Moscato> d1 is mad he will never have a job outside subspaceI can't see this because I turned signatures off. ps VT
⛊ Drake7707 Posted December 18, 2007 Report Posted December 18, 2007 i think it's used to be more compatible to java code, where String is a string
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now