C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

Difference b/w string and String in C#?


Posted Date: 21 Nov 2008      Posted By: Ramya      Member Level: Silver     Points: 1   Responses: 5



Difference b/w string and String in C#?
pls explain with one example





Responses

Author: Jigar Joshi    21 Nov 2008Member Level: GoldRating: 2 out of 52 out of 5     Points: 1

string is C# type while
String is .NET type (System.String)

Thanks
J



Author: Bunty    21 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 5

Hi,

There is no difference between string and String. string is a alias created by Microsoft for System.string.


For more details check the following website

http://jalpesh.blogspot.com/2007/10/what-is-diffrence-between-string-and.html

http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/0e0297ad-fc05-42d1-a994-d1baba433ff6/

http://bytes.com/forum/thread530368.html

Regards
S.S.Bajoria


Thanks & Regards
S.S.Bajoria



Author: Anil Kumar Pandey    21 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 3

hi,


there is no Difference between that as u can use both the name string is just another name for the class

System.String as u can see like int and Int etc..


Regards
Anil Pandey

Thanks & Regards
Anil Kumar Pandey



Author: Deepika Haridas    21 Nov 2008Member Level: DiamondRating: 2 out of 52 out of 5     Points: 3

There is no difference between string and String.

You can check these links

http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/0e0297ad-fc05-42d1-a994-d1baba433ff6/

http://bytes.com/forum/thread530368.html



Thanks & Regards,
Deepika
Editor

If U want to shine like a SUN..First U have to burn like the SUN!!
Need a Guide? Join my mentor program..



Author: Legend     21 Nov 2008Member Level: SilverRating: 2 out of 52 out of 5     Points: 5

There is no difference between string and String. string is a alias created by Microsoft for System.string.


For more details check the following website

http://jalpesh.blogspot.com/2007/10/what-is-diffrence-between-string-and.html

http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/0e0297ad-fc05-42d1-a994-d1baba433ff6/

http://bytes.com/forum/thread530368.html

and


You can check these links

http://social.msdn.microsoft.com/Forums/en-US/csharplanguage/thread/0e0297ad-fc05-42d1-a994-d1baba433ff6/

http://bytes.com/forum/thread530368.html



Post Reply

 This thread is locked for new responses. Please post your comments and questions as a separate thread.
If required, refer to the URL of this page in your new post.


Next : Problem with Modlpopup extender
Previous : Problem with adrotator control
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use