C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




confusion..whats the default value of char in c#?


Posted Date: 05 Sep 2008      Total Responses: 2

Posted By: kiran       Member Level: Silver     Points: 1



friends..
while executing code i got default value of char is '\0' but some many books
i saw '\x000' which is correct?
and in visual studio we have "char" and "Char" both datatype whats the difference between them..
and difference between "string" and "String"
thanks kiran





Responses

Author: varun    05 Sep 2008Member Level: GoldRating:     Points: 3

datatype with capital letter is a Wrapper class and with sall one, it is a actual value type/reference type variable..
the funda of wrapper class is same as in Java..

\x000 is actuall the equivalent of \0 in unicode.
its same.



Author: Bunty    21 Nov 2008Member Level: DiamondRating:     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



Post Reply
You must Sign In to post a response.
Next : how to kill other running processes in system
Previous : what is dllhel? explain me
Return to Discussion Forum
Post New Message
Category: .NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design


Contact Us    Privacy Policy    Terms Of Use