Einfaches WPF-Popup-Menu, das sich mit einem Button öffnen lässt

Ein typische WPF-Benutzeroberfläche benötigt oft mit Button öffenbare Menüs. Obwohl sich viele Lösungen im Internet befinden, sind sie kompliziert und erfordern, dass man ein neues Steuerelement erstellt. Das ist aber...

Non-Reentrant Locking in C#

Es ist gut bekannt, dass einen kritischen Codeabschnitt (einfachheitshalber kritische Methode) mit Synchronisierungsobjekten davor beschützt werden muss, dass verschiedene Threads auf ihn nebenläufig zugreifen. Wie genau die Synchronisierung geht, hängt...

Invoking generic methods on the UI thread in C# WPF

Everybody knows that UI operations can be executed only on the UI thread. So sometimes when calls can originate from other threads as well, it is a must to check...

Hackerrank – a little mind teasing

While developing business applications one has to work on mathematical algorithms only on rare occasions. How often do you use dynamic programming or implement integer factorization? As for me rarely...

Git made easy – or at least easier

Whatever small project you are to start it is always highly advisable to use some sort of source control system. For quite some time Git is the most popular SC...