单项选择题
在用C#编写的控制台程序中创建并访问一个兼容STA的COM件时,为提高性能,应该为程序入口Main方法设置()属性。
A.[MTAThread]
B.[STAThread]
C.[Synchronization]
D.[Apartment]
点击查看答案
相关考题
