I'm pretty new to this language, so please excuse me for not using the correct terms.
I have a function that goes like this:
private void function()
SaveFileDialog x = new SaveFileDialog;
Now, should I dispose of it at the end, or will it do it automatically. There is a bug im my program, and I am not sure whether this is the cause.