Arne Garvander <ArneGarvander@ discussions.mic rosoft.comwrote :
>Howcome C# has string and String data types? Are they the same type?
>
Yes. "string" is just a shorthand for "System.String" .
To elaborate a little: The C# language has names for some commonly used
types. The .NET Framework has its own names for all of those, plus a lot
more. "string" is C# and "System.Str ing" is .NET Framework. Both names are
usable in C# programs.
Comment