• C# Digest
  • Posts
  • A quick tour of dictionaries in C#

A quick tour of dictionaries in C#

#452 – May 01, 2023

A quick tour of dictionaries in C#, including where to use them. Dictionaries in C# are one of the more useful data structures you can use to store and retrieve data quickly and most programming languages have some form of dictionary built into them.

When building a calendar or scheduler view for your app, there's a good deal of nuance involved. The Telerik UI for Blazor Scheduler aims to handle all of those complexities for you.

if you have an idea on how to publish a .NET MAUI app as a single file for Windows, please let me know. I tried everything i could find on the internet in the docs and on GitHub but nothing worked.

A memory leak in C# happens when an application repeatedly allocates memory but neglects to release it even after the memory has served its purpose.

In the example I gave in the last post, we are storing the following range of numbers (file offsets, basically). I’m using two test scenarios, one where I’m testing the full range (for correctness) and one where I’m testing files under 512 GB in size. Given that we are trying to compress the space, once we hit the 512GB mark, it is probably less urgent, after all.

It has been a while since I posted my previous blog post. I finally made a schedule for me to put more effort into writing and slowly get back to the speed which I was following before few years.

Now that we know how to interact with the profiling API, we’re going to write a source generator to automatically generate the boilerplate code needed to implement the 70+ methods declared in the ICorProfilerCallback interface.

.NET MAUI now features a Map control that allows you not only to display a position with pins, but also render full geometry to essentially draw on a map! In this post I show you how to do it.

newsletters