Click here to Skip to main content
15,905,427 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
See more:
Hii Professionals


I want to know more about [STAThread] that stands in windows application ...
Posted
Comments
Joezer BH 5-Feb-13 8:07am    
What's the point in posting this question here instead of googleing?
STA = Single Threaded Application
Shubh Agrahari 6-Feb-13 0:50am    
i think there i got perfect answer thats why i posted here...........

This is the best places to start: Google search - STAThread[^]
 
Share this answer
 
This basically tells the application that it will be running in something called a Single Thread Apartment. For details of what this means, I'd suggest that you start off by reading this[^] then this[^] to get an understanding, first of what STA actually means, and then why it's used in Windows Forms and WPF apps.
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900