0

Possible Duplicate:
In C# what is the difference between String and string

What's the difference between string and String in C#? Both seem to refer to the .NET data type System.String. Is the former a C#-specific data type which maps to the .NET type System.String and String is just short hand for System.String?

StyleCop is telling me that I should be using "string" over "String" but I kind of like having all my data types appear in the same color and case.

Community
  • 1
  • 1
Chad
  • 22,004
  • 48
  • 182
  • 307

0 Answers0