C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,307 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
we know List<T> is not thread safe and i heard Record class is thread safe but unfortunate that not a single code example found where multiple thread and Record class has been used together to show Record class is thread safe.
anyone can come with a example which show Record class is thread safe. Thanks
Don't have a sample but can say that since a record is immutable
it's thread safe
.
See this