Visual Studio Development Bookmark and Share   
 index > Visual C# Express Edition > string vs String no difference?
 

string vs String no difference?

I assume there is no difference between string and String, other than the color in the source window. What is the comman way to write this word?

Stuck on Code  Tuesday, June 24, 2008 8:24 AM
Stuck on Code wrote:

I assume there is no difference between string and String, other than the color in the source window. What is the comman way to write this word?

string is just an alias for String. you may choose whatever form you want.

Lucian Baciu  Tuesday, June 24, 2008 9:17 AM
That is true of int as well, it is an alias to System.Int32

JohnGrove  Tuesday, June 24, 2008 2:31 PM
Stuck on Code wrote:

I assume there is no difference between string and String, other than the color in the source window. What is the comman way to write this word?

string is just an alias for String. you may choose whatever form you want.

Lucian Baciu  Tuesday, June 24, 2008 9:17 AM
That is true of int as well, it is an alias to System.Int32

JohnGrove  Tuesday, June 24, 2008 2:31 PM

You can use google to search for other answers

Custom Search

More Threads

• Visual C# 2008 express intallation fails.
• Reference of Object in second Collection
• Odd behaviour with ErrorProvider
• properties window has disappeared
• checking whether database value is unique
• 3D Coordinates on 2D plane
• exception handling unused parameter
• Reorder Image Column + DGV
• Can someone tell me what's wrong with my code?
• DataBinding + SelectIndexChanged