C#中[STAThread]的作用?_百度知道
[STAThread]是一种线程模型,用在程序的入口方法上(在C#和VB.NET里是Main()方法),来指定当前线程的ApartmentState 是STA。用在其他方法上不产生影响。在aspx页面...
[STAThread] - C# / C Sharp
It's quick & easy.[STAThread] P: n/a warren Hello, Anyone can brief me what is this [STAThread] in front of the Main method for? and when ...