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 ...
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 ...
The String.Create method was added in the recent versions of C#. Here is how the Create method of the String class is declared: public static string Create<TState> (int length, TState state ...
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 ...
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 ...
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 ...