tags:

views:

96

answers:

3

Possible Duplicate:
String vs string in C#

I know there is no difference between using string and String. But, why is there the option in C#? Is it the same for object and Object?

EDIT

Note, that I am asking why.

A: 

http://stackoverflow.com/questions/215255/string-vs-string-in-c

David
Just for future reference, it's better to report duplicates in comments, rather than as an answer to the question.
womp
Noted, thanks. Still new to SO :)
David
+4  A: 

In the MS implementation of the C# standards, string maps to System.String and object maps to System.Object. In other implementations, this could map to other classes. So if you use string and object, you are on the safer side if you should ever compile it with another compiler.

Femaref
+1  A: 

string is just an alias for System.String. It is jsut a shorthand the same way that int is shorthand for System.Int32

Daryl