Possible Duplicate:
In C# what is the difference between String and string
In C# there is string and there is System.String.
What is the difference between these? Is one considered better to use that the other. Are there any hidden dangers in mixing the use of them?
If they are the same, then why have them both? Why not just have one or the other?
System.Stringis the name of the actual .NET CLR class, just likeSystem.Int32is the real name of that class. But the designers of C# wanted it to look a lot like C and C++, where the native types (likeint) are in lower case, so they added aliases for the basic native types.