As an experienced C# developer, you’re always looking for ways to improve your application’s performance. Good news! You’ve come to the right place...
For further actions, you may consider blocking this person and/or reporting abuse
I think you actually meant Task vs ValueTask...
Fixed! Thanks for the notice😅😁
Top article
Great that you like it!
Wow! It's amazing. Thanks for sharing these tips <3
Great
Thanks ❤️
Thanks to you for taking the time to read it!
Thanks for sharing This amazing article.
A lot of thanks Mansi! :D
Great Article!
Thanks!
you missed a really good one IAsyncEnumerable it's powerful
Wow, you are so right😥! Noted and thank you very much for the comment!
This is a comprehensive list of great tips - thanks for sharing.
Thank you! If you have any tips you would like to share, we'd love to hear from you! All this is open-source 😎
Awesome 🔥.
I'm not into C# now, I'm mainly working with js, but there are lots of things I could learn and can apply for me such as
Avoid premature optimizations
,importance of caching data
,avoid using exceptions for flow control
,utilize generics and custom interfaces to avoid boxing
...It was also interesting seeing what what they think as important things in C# and the way it works, especially about parallelism and features and effort to work with multi-threaded system.
I just want to warn everyone that many of the tips are very opinionated and some are just blatantly copy/pasted without really understanding the problem or explaining the context in which they are appropriate while making them risky in your code.
Few examples are
ConfigureAwait(false)
and use ofstackalloc
instead of e.g.Span<T>
.Could you please show the source of information that you used for the example where you used LINQ AsParallel() within Parallel.ForEach?
I could not find this kind of usages of AsParallel anywhere. And in the documentation AsParallel is used for the whole different purpose entirely (not for thread safety within Parallel.ForEach).
Thank you in advance.
Now that's a real top😍
Hello, I'm interested in finding a partner to work on .NET projects with. I noticed that you're also interested in this space and wanted to reach out to see if you might be interested in discussing the possibility of working together.
I value clear communication and collaboration, and I'm committed to finding a good fit for both of us. Let me know if you're open to discussing this further, and we can set up a time to chat more.
Telegram: @krumfi_cto
Gmail: dmitryeremenko715@gmail.com
Looking forward to hearing from you soon.
Best regards,
Dmitry
Awesome tips, thanks!
Thank you for sharing. It is really valuable information here.
Great one, cheers!
Thanks for sharing
Great article thank you