Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想以线程安全的方式修改 ASP.NET MVC3 控制器(需要 SessionState)中的 Session 变量。我应该锁定什么对象?