Re: fxcop

Gopal V <gopalv82-/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Hi,

> A String and not a pointer to String object?  So,
> a.Length should always 
> have a valid location in memory?  Or is this how C#
> is different than C++?

String a = null;

is possible ... all objects are references and 
therefore are nullable .. so we need the check.

Essentially, C# has all objects as references ..
Only valuetypes (ie like primitives, enums and
structs) are data on the stack. Those will always
have a valid memory location.

Gopal



	
		
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs  
http://hotjobs.sweepstakes.yahoo.com/careermakeover
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.