Twitter

Hi @factuursturennl, mooie interface, toffe features; met name het inboeken van crediteuren en de btw-overzichtjes!… https://t.co/16qWn4UoBc

2 months ago

Follow

Nice insights on crowd funding: https://t.co/obxkW0C9nj 😼

3 months ago

Follow

Rainbow CSV for #VSCode : simple and elegant 👍🌈 https://t.co/LDEpaO4TEB

3 months ago

Follow

Need finer control over your screen brightness? There a #PowerShell script for that: https://t.co/uUCyIaN6j6

3 months ago

Follow

Categories

Category: .NET

.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

Dynamically map JSON commands to object methods in .Net

Lately I’ve been playing around with USB led lights in .Net. I wanted the animations to be separated from my code. Wouldn’t it be great if you could define what animations are executed in a JSON file? And map it to code?

Normally one would build a mapper that does the conversion of the JSON commands to the methods. I like to use a more generic approach. I’ve created a small utility class that executes commands by mapping and executing them as a method of the object.