String vs string in C#

C#.NetPerformanceStringTypes

C# Problem Overview


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

In C# the string keyword (highlighted in Visual Studio as a data type) is just a shortcut to the String class right?

In that case, it would be the same to use either while coding from the semantic point of view. However, is it the same from the performance point of view? I mean, when the mapping is performed: during compilation (I guess so), during compilation or during JIT compilation in execution?

Or maybe this is all wrong: string and String are not the same thing in C# so there are some situations where they cannot be interchanged

C# Solutions


Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionmmutilvaView Question on Stackoverflow