I understand the concept and reasons behind using the using statement, and I use it with things like file resources and remote connections, I was wondering if it is good practice to use the using statement with WinForm forms and dialogs?
using (MyDialog dlg = new MyDialog())
{
if (dlg.ShowDialog() == EDialogResult.OK)
{
// Do Something
}
}
Thanks!