What is STA in .NET?



What is STA in .NET?..

Answer / Abhinav Kumar Tripathi

STA stands for Single Thread Apartment in .NET. It is a threading model where each object instance is associated with a single thread. In an STA, all interactions between objects must occur on the same thread that created them or marshalled to the correct thread context. This can lead to performance issues when dealing with multiple threads but provides better compatibility with COM components.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Dot Net General Interview Questions

What is a variable of implicit type and what is its scope?

1 Answers  


What are the different parts of an Assembly in .Net?

1 Answers  


Which property is used in the email to send the content as HTML

1 Answers  


How we can achieve Connection pooling in .Net?

1 Answers   PUCIT,


How do you give a Windows service specific permissions?

1 Answers  


How will you load an assembly which is not referenced by current assembly?

1 Answers  


What is the difference between encrypting a password and applying a hashing?

1 Answers  


Describe the Managed Execution Process

1 Answers  


What is file extension of Webservices in .Net?

1 Answers   Arigo Infotech,


Where does the gac exist ?

1 Answers  


What is msil, il?

1 Answers  


What is implement a generic action in webapi?

1 Answers  


Categories