[Mono-list] Easy way to check object assigned

Daniel Weber daniel-weber@austin.rr.com
Fri, 16 Nov 2001 20:52:52 -0600


In my code I've been using:

if (object == null)

as  a way of checking whether or not an object is a valid reference.  I know 
in VB it's [object is nothing] and in Delphi it's [Assigned(object)].  Is 
there a similar syntax for C#?

TIA