Re: Check for null object
- From: John B <jbngspam@xxxxxxxxx>
- Date: Wed, 20 Sep 2006 10:13:45 +1000
Daniel wrote:
myClass test = new test();
test = null;
myClass test = null;
Sorry, just being pedantic.
:)
if(test == null)
{
System.Windows.Forms.MessageBox.Show("I am an idiot");
Maybe you got this right though ;)
<...>
JB
.
- References:
- Check for null object
- From: Tarun Mistry
- Re: Check for null object
- From: Daniel
- Check for null object
- Prev by Date: Re: SQL WHERE Command Help [C# Win]
- Next by Date: add to 2 dimensional arraylist
- Previous by thread: Re: Check for null object
- Next by thread: Re: Check for null object
- Index(es):