[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU] fxcop

From: Gopal V
Subject: Re: [DotGNU] fxcop
Date: Sun, 2 May 2004 02:20:41 -0700 (PDT)


> 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.


Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]