Skip to main content

Command Palette

Search for a command to run...

What is the difference between System.String and string in C#?

Updated
1 min read
What is the difference between System.String and string in C#?

Basically, there is no difference between string and String in C#. "string" is just an alias of System.String and both are compiled in the same manner. String stands for System.String and it is a .NET Framework type. "string" is an alias in the C# language for System.String. Both of them are compiled to System.String in IL (Intermediate Language), so there is no difference.

More from this blog

A developer's diary

45 posts

Just developer