?
Solved

String and string

Posted on 2004-08-07
4
Medium Priority
?
210 Views
Last Modified: 2010-04-17
What different between String and string in C#?
String S;
string ss;

Thanks
0
Comment
Question by:billcch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Author Comment

by:billcch
ID: 11742171
Sorry, I suppose to post this question in C# area...
0
 
LVL 16

Accepted Solution

by:
Walter Ritzel earned 500 total points
ID: 11742413
String is a class, and string is the primitive value type. The string was available just for compatibility purposes, because all primitive types are really classes.

So, dont exist any real difference between theses two types.

Hope this helps,

Walter.
0
 
LVL 7

Assisted Solution

by:dttri
dttri earned 500 total points
ID: 11743187
 Hello,
  I take this from MSDN, hope this help:
  String class: Represents text; that is, a series of Unicode characters.
  The string type represents a string of Unicode characters. string is an alias for System.String in the .NET Framework.

  Tri
0
 

Author Comment

by:billcch
ID: 11746004
Thank you very much!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Simple Linear Regression
Suggested Courses
Course of the Month7 days, 19 hours left to enroll

765 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question