Advanced Search
Search Results
62 total results found
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 ...
DotNet Startup Remote Debugging Hook
HowTo
When performing remote debugging of an application or service, it may be necessary to see what is happening during early startup. NOTE: To setup remote debugging, see this page: Visual Studio Remote Debugging Adapted from this article: I Wish I Knew About De...