Other than the capitalization exception difference in each, is the JS String vs C# string type declaration different?
In C#, String is actually the partially qualified name for System.String.
Aka, the String class within the System namespace.
However, this simply an alias for the “string” class, so all three representations are valid:
- string
- String
- System.String.