Hi,

I have been programming in Java for a few years and am now trying to teach myself C#. I am using Visual Studio 2010 as my IDE.

I have created a basic form called AddVideo, and I have a separate file called Program.cs
I want Program.cs to display an instance of the AddVideo form.
So far I have tried to do:
Code:
AddVideo form = new AddVideo();
But when I run Program.cs, it displays the program for less than a second and then exits.

How can I fix this?

Thanks