Click here to Skip to main content
15,894,297 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:47
harold aptroot17-Feb-17 9:47 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:01
CDP180217-Feb-17 10:01 
GeneralRe: String or string? Pin
Richard Deeming17-Feb-17 10:34
mveRichard Deeming17-Feb-17 10:34 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:42
CDP180217-Feb-17 10:42 
GeneralRe: String or string? Pin
PIEBALDconsult17-Feb-17 11:04
mvePIEBALDconsult17-Feb-17 11:04 
GeneralRe: String or string? Pin
CDP180217-Feb-17 11:11
CDP180217-Feb-17 11:11 
AnswerRe: String or string? Pin
User 1106097917-Feb-17 9:27
User 1106097917-Feb-17 9:27 
AnswerRe: String or string? Pin
icemanind17-Feb-17 9:27
icemanind17-Feb-17 9:27 
I've always used the lowercase string when declaring a type, but I use the uppercase String when calling static methods. For example:

C#
string myString = "Hello World!";
string anotherString = String.Format("{0}", "Hola!");


Microsoft seems to do the same thing, as seen in some of their examples, like here.
GeneralRe: String or string? Pin
Bryian Tan17-Feb-17 9:59
professionalBryian Tan17-Feb-17 9:59 
GeneralRe: String or string? Pin
thewazz20-Feb-17 7:38
professionalthewazz20-Feb-17 7:38 
AnswerRe: String or string? Pin
CDP180217-Feb-17 9:29
CDP180217-Feb-17 9:29 
GeneralRe: String or string? Pin
Richard Deeming17-Feb-17 9:38
mveRichard Deeming17-Feb-17 9:38 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:43
CDP180217-Feb-17 9:43 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:45
harold aptroot17-Feb-17 9:45 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:56
CDP180217-Feb-17 9:56 
GeneralRe: String or string? Pin
Richard Deeming17-Feb-17 10:30
mveRichard Deeming17-Feb-17 10:30 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:36
CDP180217-Feb-17 10:36 
GeneralRe: String or string? Pin
PIEBALDconsult17-Feb-17 11:06
mvePIEBALDconsult17-Feb-17 11:06 
GeneralRe: String or string? Pin
CDP180217-Feb-17 11:14
CDP180217-Feb-17 11:14 
GeneralRe: String or string? Pin
User 1106097917-Feb-17 11:53
User 1106097917-Feb-17 11:53 
GeneralRe: String or string? Pin
  Forogar  17-Feb-17 9:51
professional  Forogar  17-Feb-17 9:51 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:43
harold aptroot17-Feb-17 9:43 
GeneralRe: String or string? Pin
CDP180217-Feb-17 9:51
CDP180217-Feb-17 9:51 
GeneralRe: String or string? Pin
harold aptroot17-Feb-17 9:55
harold aptroot17-Feb-17 9:55 
GeneralRe: String or string? Pin
CDP180217-Feb-17 10:05
CDP180217-Feb-17 10:05 

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.