Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 883341
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T12:34:23+00:00 2026-05-15T12:34:23+00:00

In many MSDN documents, this is written under the Thread Safety heading; Any public

  • 0

In many MSDN documents, this is written under the Thread Safety heading;

“Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.”

for example; here

can someone explain it please in a rather simple way?
Thank you 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T12:34:23+00:00Added an answer on May 15, 2026 at 12:34 pm

    Eric Lippert has an excellent blog post about this. Basically it’s somewhat meaningless on its own.

    Personally I don’t trust MSDN too much on this front, when I see that boiler-plate. It doesn’t always mean what it says. For example, it says the same thing about Encoding – despite the fact that we all use encodings from multiple threads all over the place.

    Unless I have any reason to believe otherwise (which I do with Encoding) I assume that I can call any static member from any thread with no corruption of global state. If I want to use instance members of the same object from different threads, I assume that’s okay if I ensure – via locking – that only one thread will use the object at a time. (That’s not always the case, of course. Some objects have thread affinity and actively dislike being used from multiple threads, even with locking in place. UI controls are the obvious example.)

    Of course, it becomes tricky if objects are being shared unobviously – if I have two objects which each share a reference to a third, then I may end up using the first two objects independently from different threads, with all the proper locking – but still end up corrupting the third object.

    If a type does advertise itself to be thread safe, I’d hope that it would give some details about it. It’s easy if it’s immutable – you can just use instances however you like without worrying about them. It’s partially or wholly "thread-safe" types which are mutable where the details matter greatly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Many controls in WPF has this snap to device pixels (as explained on MSDN
This article on MSDN states that you can use as many try catch blocks
I found this: http://msdn.microsoft.com/en-us/library/vslangproj80.reference3%28VS.80%29.aspx what I have in mind is that many of the
MSDN documentation for classes contain many inherited properties and methods. I think this is
I tried getting AccExplorer32 from this link http://msdn.microsoft.com/en-us/library/dd631969.aspx and many others, but it says
MSDN, as well as many other sources, claim that worker threads in the thread
I'm following this tutorial http://blogs.msdn.com/b/astoriateam/archive/2010/07/21/odata-and-authentication-part-6-custom-basic-authentication.aspx . I need to add to the web.config :
As documented by MSDN , there are several providers for many of the different
Many times I have seen Visual Studio solutions which have multiple projects that share
Many beginning programmers write code like this: sub copy_file ($$) { my $from =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.