In VB I would say... if (Not xyz Is Nothing)
In C# I am inclined to say... if (xyz != null) but I am concerned that an object might override operator !=. What is the recommended way to do this test in C#? Thanks...David You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.