Skip to main content
Post Made Community Wiki by Inverted Llama
Post Merged (destination) from stackoverflow.com/questions/215255/string-vs-string-in-c-sharp
code tags
Source Link
Christian Specht
  • 36.6k
  • 16
  • 132
  • 190

As the others are saying, they're the same. StyleCop rules, by default, will enforce you to use 'string'string as a C# code style best practice, except when referencing System.StringSystem.String static functions, such as String.FormatString.Format, String.JoinString.Join, String.ConcatString.Concat, etc...

As the others are saying, they're the same. StyleCop rules, by default, will enforce you to use 'string' as a C# code style best practice, except when referencing System.String static functions, such as String.Format, String.Join, String.Concat, etc...

As the others are saying, they're the same. StyleCop rules, by default, will enforce you to use string as a C# code style best practice, except when referencing System.String static functions, such as String.Format, String.Join, String.Concat, etc...

Source Link
Lloyd Cotten
  • 4.6k
  • 5
  • 26
  • 21

As the others are saying, they're the same. StyleCop rules, by default, will enforce you to use 'string' as a C# code style best practice, except when referencing System.String static functions, such as String.Format, String.Join, String.Concat, etc...