Click here to Skip to main content
16,010,918 members
Home / Discussions / C#
   

C#

 
GeneralRe: string vs String Pin
Matt Meyer9-Aug-11 7:32
Matt Meyer9-Aug-11 7:32 
AnswerRe: string vs String Pin
BobJanova9-Aug-11 6:03
BobJanova9-Aug-11 6:03 
GeneralRe: string vs String Pin
Shameel9-Aug-11 6:12
professionalShameel9-Aug-11 6:12 
GeneralRe: string vs String Pin
BobJanova9-Aug-11 7:29
BobJanova9-Aug-11 7:29 
GeneralRe: string vs String Pin
PIEBALDconsult9-Aug-11 14:49
mvePIEBALDconsult9-Aug-11 14:49 
GeneralRe: string vs String Pin
Shameel9-Aug-11 22:14
professionalShameel9-Aug-11 22:14 
AnswerRe: string vs String Pin
Eddy Vluggen9-Aug-11 7:24
professionalEddy Vluggen9-Aug-11 7:24 
AnswerRe: string vs String Pin
BillWoodruff9-Aug-11 8:35
professionalBillWoodruff9-Aug-11 8:35 
Since Intellisense on instances of both 'String and 'string show the same underlying exposed properties and methods, and since the pop-up showing the constructor overloads for both shows the same parameter options, and since comparison of their 'Type, via GetType(), shows equality: ergo, I conclude they are the same, hence having both usages is meant for some semantic purpose.

My hypothesis for what that purpose might have been would be that code written where 'string is used to indicate the creation of instances of type 'String, and 'String is used to indicate accessing the static methods exposed by the 'String class ... might be clearer.

But that's just a guess, and it would be interesting to know what the language designers intended.

best, Bill
"In the River of Delights, Panic has not failed me." Jorge Luis Borges

AnswerRe: string vs String Pin
PIEBALDconsult9-Aug-11 14:44
mvePIEBALDconsult9-Aug-11 14:44 
Questionsetup assistant software from setup package Pin
md_refay9-Aug-11 5:28
md_refay9-Aug-11 5:28 
AnswerRe: setup assistant software from setup package Pin
Richard Andrew x649-Aug-11 9:45
professionalRichard Andrew x649-Aug-11 9:45 
Questioncreae application shortcut Pin
md_refay9-Aug-11 5:25
md_refay9-Aug-11 5:25 
AnswerRe: creae application shortcut Pin
Eddy Vluggen9-Aug-11 7:26
professionalEddy Vluggen9-Aug-11 7:26 
AnswerRe: creae application shortcut Pin
Bernhard Hiller9-Aug-11 20:17
Bernhard Hiller9-Aug-11 20:17 
QuestionUI, BLL and DAL Pin
paper679-Aug-11 4:17
paper679-Aug-11 4:17 
AnswerRe: UI, BLL and DAL Pin
Shameel9-Aug-11 4:26
professionalShameel9-Aug-11 4:26 
AnswerRe: UI, BLL and DAL Pin
PIEBALDconsult9-Aug-11 5:19
mvePIEBALDconsult9-Aug-11 5:19 
GeneralRe: UI, BLL and DAL Pin
paper679-Aug-11 6:20
paper679-Aug-11 6:20 
GeneralRe: UI, BLL and DAL Pin
PIEBALDconsult9-Aug-11 14:36
mvePIEBALDconsult9-Aug-11 14:36 
AnswerRe: UI, BLL and DAL Pin
Not Active9-Aug-11 5:27
mentorNot Active9-Aug-11 5:27 
QuestionExecuteScalar return value Pin
vanikanc9-Aug-11 3:38
vanikanc9-Aug-11 3:38 
AnswerRe: ExecuteScalar return value Pin
Gareth H9-Aug-11 3:46
Gareth H9-Aug-11 3:46 
AnswerRe: ExecuteScalar return value Pin
Keith Barrow9-Aug-11 3:47
professionalKeith Barrow9-Aug-11 3:47 
AnswerRe: ExecuteScalar return value Pin
Shameel9-Aug-11 4:15
professionalShameel9-Aug-11 4:15 
AnswerRe: ExecuteScalar return value Pin
Matt Meyer9-Aug-11 4:38
Matt Meyer9-Aug-11 4:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.