New Message on dotNET User Group Hyd

Question Of The Day !!!! -- (01-06-2005)

Reply
  Reply to Sender   Recommend Message 2 in Discussion
From: kish728

 
Hi Group,
 
 Question :What is the difference between System.String and string ?
 
There are two ways of declaring string variables: You can use the C# keyword string or use the .NET Framework's class name System.String. Either way, you end up with the same thing�a string object. Having two ways of declaring a string object could be confusing in C#, especially because C# usually adds a
   using System; statement to each file. That means that you can omit the word System when specifying System.String. If you do so, then the two ways of declaring strings would be string (lowercase s) and String (capital s). So which one should you use? The C# ECMA specification says to use the language-provided keyword. However, other experts in the field say that you should use the class name from the Framework.
 
 The class name for strings is System.String. However, the language provides an alias called string (lowercase letters). On top of that if you have a using statement for the System namespace you can also use String (capital S).
 
Thank you
Kishore.
----- Original Message -----
From: Nasha
Sent: Wednesday, June 01, 2005 11:57 AM
Subject: Question Of The Day !!!! -- (01-06-2005)

New Message on dotNET User Group Hyd

Question Of The Day !!!! -- (01-06-2005)

Reply
  Reply to Sender   Recommend Message 1 in Discussion
From: Nasha

Hi All,

Question of the Day is :- What is the difference between System.String and string ?

If you have any questions that can be added to the Question Bank please post them on your user group.

You can find all the interview questions on MumbaiUserGroup at http://groups.msn.com/MumbaiUserGroup/netinterviewquestions.msnw .

Please post all your answers on the usergroup only as even others need to know your answer coz if therez anything missing then they can post the same. The idea behind this is to have an answer covering as many points as possible. We will pick the best answer and post it in Question Bank with the member's name.

-- Please post your queries and comments for my articles in the user group for the benefit of all. I hope this step from my end is helpful to all of us. You can find all articles written by me at my personal blog http://spaces.msn.com/members/nasha.

Regards,

Namratha ( Nasha )


View other groups in this category.


View other groups in this category.

Click Here
Also on MSN:
Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily Horoscopes

To stop getting this e-mail, or change how often it arrives, go to your E-mail Settings.

Need help? If you've forgotten your password, please go to Passport Member Services.
For other questions or feedback, go to our Contact Us page.

If you do not want to receive future e-mail from this MSN group, or if you received this message by mistake, please click the "Remove" link below. On the pre-addressed e-mail message that opens, simply click "Send". Your e-mail address will be deleted from this group's mailing list.
Remove my e-mail address from dotNET User Group Hyd.

Reply via email to