thought I'd ask ... someone please tell me the answer to a question on everyones
lips
What is the difference between String and string in C# ?
String is, more often than not, used in properties
private string mystr
public String myStr
get {
return mystr;
}
set{
mystr.value = myStr;
}
but not always !
but what is the difference ?
and are ther any other ones that you can capitalize the first letter with no
apparant change to its meaning ?
are there any specific circumstances where you should use one and not the other
? I have to say I tend to plum for string every time, as it comes up blue in
editor so I know where I am with things.