Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

187
Views
Does any version of .NET have a Random.Shared property accessible through code?

I was using the .net source browser here and looked up the Random class to discover that it has a Shared property on it that gives access to a thread-safe implementation. I needed something similar, so I tried accessing it in my code, but the Random class seems to not have any static properties on it, and I could find no mention (outside of this source) on the MSDN docs of such a property.

I also wasn't able to figure out whether source.dot.net points to an official version of .Net (and if it does, what version), however the tool that generated it is also used for referencesource.microsoft.com.

Is there a Shared property available on System.Random in any version of .Net, and is source.dot.net a legitimate reference for .net source code?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Random.Shared appears only in .NET 6

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!