R
Ron
In my quest to migrate a vb.net app to C# I encountered
the following problem:
session.Initialize("pwrd");
NotesDatabase NotesDB;
NotesDB = session.GetDatabase(server, filename, false);
....
//done with data pulling/processing
NotesDB = Nothing //from vb.net - not working for C#
What should I do about NotesDB = Nothing? If I set
NotesDB = null;
C# doesn't complain, but is this the way to do it?
Thanks,
Ron
the following problem:
session.Initialize("pwrd");
NotesDatabase NotesDB;
NotesDB = session.GetDatabase(server, filename, false);
....
//done with data pulling/processing
NotesDB = Nothing //from vb.net - not working for C#
What should I do about NotesDB = Nothing? If I set
NotesDB = null;
C# doesn't complain, but is this the way to do it?
Thanks,
Ron