News

I use Powershell's "custom-object" command to create custom objects with properties I want to save. But custom-object applies only to one variable. Is it possible to create a custom class, like in ...
Take advantage of the new System.Threading.Lock object in C# 13 to more easily implement performant thread-safe applications in .NET Core.
God object example in C# The solution to the God object anti-pattern is to split related functionality into smaller and more manageable classes — i.e., to design classes that have strong ...
Creating Sortable Objects with IComparable and Planning Your Interface Strategy. The IComparable interface lets you create objects that know how to sort themselves correctly. This interface also ...
To facilitate that, I need a TypeScript object to use on the client that has identical properties to my C# object. I can't reuse C# objects in TypeScript, of course, but it would be great if I could ...
This one is a new subject for me. I've seperated logic in all kinds of programs before, but never in C# where forms are involved. Honestly, I'm just teaching myself the language, having a decent ...