Comment by neonsunset
2 months ago
LINQ is fine (but enterprise style never is, yes), it’s a matter of scale and what kind of a domain the code is targeted too. C# needs to be approached a little like C++ and Rust in this regard. Having standard performance optimization knowledge helps greatly.
Also can recommend reading all the performance improvements blog posts by Stephen Toub as well as learning to understand disassembly at a basic level which .NET offers a few convenient tools to get access to.
And I can recommend listening to @neonsunset when it comes to C# performance :)
Helped me a bunch to get Sharpl spinning, much appreciated.
https://github.com/codr7/sharpl