This looks quite confusing but that means that all the static/shared functions of this type are using synchronization mechanism inbuilt(with lock or monitor) to update any static data so that threads simultaneously accessing that methods may not corrupt your data and as a developer you don't need to be worry of synchronizing it.
Whilst in the case of any instance variable of that type/class you have to write your own synchronization mechanism to prevent multiple parallel threads modifying the data.
Please go through following articles to know how internally ASP.NET synchronize the objects using sync blocks.
http://msdn.microsoft.com/en-us/magazine/cc188793.aspx
Monday, May 24, 2010
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment