Hi,
I think my subject makes it crystal clear...... when I create a new WindowsApplication in C#, i get the following code: -
What is the [STAThread] for? What does it do? Is it really useful or just some compiler rubbish or something?Code:/// <summary> /// The main entry point for the application. /// </summary> [STAThread] static void Main() { Application.Run(new Form1()); }
Will be real grateful if somebody could help me out on this one.
Thanks,
DJ


Reply With Quote