C# Object Declarations
- by pm_2
Are there any overheads to using the following sytax:
Form1 myForm = new Form1();
myForm.Show();
As opposed to:
Form1 myForm;
myForm = new Form1();
myForm.Show();
When I was learning VB6, I was told doing the quivelent in VB had an overhead - is the same true in .NET?