How does the switch statement work in CSharp?
Read more here:
https://www.devleader.ca/2023/11/16/the-csharp-switch-statement-how-to-go-from-zero-to-hero/
How does the switch statement work in CSharp?
Read more here:
https://www.devleader.ca/2023/11/16/the-csharp-switch-statement-how-to-go-from-zero-to-hero/
How do you use enums in CSharp?
Read more here:
https://www.devleader.ca/2023/10/27/how-to-use-enums-in-csharp-understanding-the-basics/
Bart Wullems of The Art of Simplicity shares his experience using Microsoft's .NET Source Browser to take a peek at a particular API's internals. The code documentation pages have links to the corresponding Github repositories where you can see exactly how any given function is implemented.
"Browse the .NET code base with the .NET Source Browser"
https://bartwullems.blogspot.com/2025/06/browse-net-code-base-with-net-source.html
#programming #dotnetcore #documentation #education #opensource
Have you used reflection in CSharp?
Read more here:
https://www.devleader.ca/2023/10/25/how-to-master-the-art-of-reflection-in-csharp-and-boost-your-programming-skills/
Cleaned up discovery-related workflows:
✔ Structured logging
✔ Better data shape for UI
✔ Stronger test coverage
Larger procedural logic is on deck — one rule at a time.
Tested duplicate assignment edge cases today and watched the constraints + logs catch it like clockwork. This is what good engineering feels like.
You've no doubt seen this keyword in CSharp code...
Read more here:
https://www.devleader.ca/2024/01/10/what-does-yield-do-in-c-a-simplified-view-for-beginners/
InfoWorld contributor Joydip Kanjilal reviews a group of read-only data structures in .NET Core that are optimized to allow very fast thread-safe reads over their data in comparison to plain dictionaries, lists, and hash sets.
Namely: FrozenSet and FrozenDictionary.
He also shows benchmark results, and includes a tutorial written in C#.
"How to use frozen collections in C#"
https://www.infoworld.com/article/4000458/how-to-work-with-frozen-collections-in-c-sharp.html
#programming #csharp #datastructures #optimization #dotnetcore
What kind of sorcery do we get with TWO dependency containers in ASP NET Core?!
Read more here:
https://www.devleader.ca/2024/05/03/autofac-componentregistrybuilder-in-asp-net-core-how-to-register-dependencies-part-3/