Always Developing

always learning | always growing | always paging (11)

String comparison with StringComparer

Using StringComparer.OrdinalIgnoreCase.Equals to compare strings instead of ToLower


Read more...


List AddRange performance

Comparing the performance of the List AddRange and Add methods


Read more...


Awaiting anything with GetAwaiter

Using a GetAwaiter extension method to await any type


Read more...


Adding localization with dependency injection

Adding localization support to ASP.NET Core with dependency injection support


Read more...


Target-type new expressions

Omitting the target-type when .NET can infer the type


Read more...