Community for help and hanging out for developers, computer scientists and mathematicians

Hi there, if you are looking for help with programming, machine learning, mathematics or hardware, or if you’re just looking for a place to hang out with similar people, feel free to join our community! What we offer: – Mentoring – Request exercises – Feedback on the implementation of the exercises you’ve submitted Link: […]

How does Barrier.SignalAndWait(CancellationToken) work?

I am a beginner learning C# from a book. Going through the examples in the book, I’ve understood how Barrier.SignalAndWait() works. However, now the book has moved on to the topic of “cancellations” and I am somewhat confused about the method overload Barrier.SignalAndWait(CancellationToken) Am I right in thinking that this method: Waits until other participants […]

Help: What is going on?

I am new to csharp and I don’t understand what is going on with my code. I create a dictionary called target_copy which stores values from target_items. In the first loop I am copying values to a list, which then becomes the value in a key:value pair in the dictionary. When I print the values […]