Twitter

Yesterday I found an interesting sorting problem to work on. The solution involved a SortedDictionary and an ICompa… https://t.co/4x4nfqcFhm

3 days ago

Follow

Hallo @staatsbosbeheer, er ligt hier een koe met een gaatje. Wellicht goed om even polshoogte te nemen. https://t.co/NrmcaXyiuR

1 month ago

Follow

Hi @TheShufflehound, thanks for the beautiful Gillion and Jevelin themes! They are most useful. Are you still developing new themes?

1 month ago

Follow

Reading up on TLS and the beatings it has taken in the past decade 🥊. https://t.co/Jr84euQX5r

2 months ago

Follow

Categories

Tag: C#

.NET

Sorting a Dictionary on a List of Keys

I can almost hear you thinking: “What super-weird problem are you trying to solve!?” Well… it is kind of an abstract one! Imagine you have a dictionary of objects and a separate list of keys in a certain order. Now suppose you want an ordered dictionary based on the list of keys.

.NET

Part 2: Calculations with Roman Numerals using C#

In a previous article I wrote how to parse Roman Numerals in C#. This article will focus on how to calculate with the class in an intuitive way. It will show how to implement implicit casting and the add and subtraction operator overloads. Fun stuff that’s probably useful in other projects.

.NET

Part 1: Parsing Roman Numerals using C#

Lately I’ve become fascinated with the Latin language. I’m working on a project that converts photographs of Latin inscriptions on medieval statues into translated text. One of the challenges is parsing years, usually expressed in the form of Roman Numerals.

After building a parser class I noticed that it had a lot of nice characteristics: parsing, operator overloading, implicit conversions. A nice way to play around with C#.

.NET

Offline Google Authentication for MVC.Net

A while back I wanted to create an ASP.Net MVC client for Google Fit that charted my weight. It turned out that offline Google authentication wasn’t as straight forward as one would hope. This article will explain how it works using Google Fit as an example. The code is applicable to the whole Google API. In this example only one authorization is stored and used across multiple accounts.