C# 8.0 Features

This article covers the new C# 8.0 language feature-set and their C# 7.0 implementation equivalent. Some of the features (links in the article) can be tested already with the Visual Studio 2019 preview. Interface Default Implementation Finally! I think there is no explanation required for this feature. Output Hello from the DiagnosticLogger implementation Hello from the …

Browser + Razor = Blazor!

Haven’t heard of WebAssemblies yet? Check some other articles to shortly educate yourself about WebAssemblies before continue reading. Ok, but what about C#? As far as my research did take place, there is currently Mono and Microsoft working on a project (Experimental). Since the Mono Project on GitHub lacks too much guidance and I haven’t the power …

AABB Collision Detection with Intersection Points (Incl. Rotation)

 

WPF Scrollable + Zoomable + Dragable Control

Unluckily there is no standard control to zoom, drag and scroll your content. My implementation is based on following tutorial. With this implementation you are able to zoom, drag and scroll arbitrary controls. Showcase ScrollDragZoomControl.xaml

ScrollDragZoomControl.xaml.cs

Usage Add the “ScrollDragZoomControl” to your project and use it as follows:

 

Windows Phone 8.1 WinRT Json Serialize + DeSerialize

Serialize object to a storage file

DeSerialize a storage file to a object

Check if the storage file exists before you call GetFileAsync. (Which is ignored at the example above)

Rabin-Karp

 

Heapsort