Bruce One wrote:
What is the difference between String and string in C#?
"string" is a keyword; you can't use "string" as an identifier.
"String" is not a keyword, and you can use it as an identifier:
string String = "Isn't this confusing?";
That's the only difference. The keyword "string" is an alias for
"System.String"; aside from the keyword issue, the two are exactly
equivalent. typeof(string) == typeof(String) == typeof(System.String).
--
..NET 2.0 for Delphi Programmers
www.midnightbeach.com/.net
Delphi skills make .NET easy to learn In print, in stores.