Advanced Search
Search Results
62 total results found
Nuget Build and Publish Scripts for Multiple Targets
.NET
Here’s a set of basic command line steps to run, to generate a nuget package for a library or an executable. NOTE: These statements are for projects that target multiple runtimes. So, they can be simplified for a single runtime or single target framework. Fo...
Sorting a List Collection of Type
.NET
You will come across the need to sort a list of types, at some point. This method will do In-Place Sorting: list.Sort((a, b) => a.SomeProperty.CompareTo(b.SomeProperty)); Example: var people = new List<Person> { new Person { Name = "Alice", Age = 30 ...