When I write classes in C# then implement them as follows:
ETrainingDemo.Classes.NewsLetterRecipient objRecipient = new ETrainingDemo.Classes.NewsLetterRecipient();
objRecipient.Firstname = Firstname.Text;
objRecipient.Surname = Surname.Text;
objRecipient.Email = Email.Text;
If I want to kill the object straight away rather than relying on the garbage collector, what is the best way to do this. Is there a command like Set object = Nothing? Should I build dispose code into my class, should I inherit a Dispose Interface?
Any thoughts, ideas please?