Diff b/w string and String [Resolved]

Posted by Oswaldlily under C# on 8/14/2012 | Points: 10 | Views : 979 | Status : [Member] | Replies : 2
Whats the difference between String and string???




Responses

Posted by: Vikash on: 8/14/2012 [Member] Starter | Points: 50

Up
0
Down

Resolved
string is an alias for System.String.
Like this we have some other alias as
int for System.Int32
bool for System.Bool

Regards,
Vikash Pathak

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Srilu.Nayini577 on: 8/14/2012 [Member] Starter | Points: 25

Up
0
Down
In c#,the type keywords are synonyms for the types.
string=System.String
int=System.Int32
short =System.Int16



Thank you,

SRILATHA
.Net Developer

Oswaldlily, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response