Sidebar

Result

This small structure contains all to iterate over the list of Fibonacci numbers. Read more...
31 Jul '15 2 English Deutsch InternalsVisibleTo
Especially with the building of unit tests, it is often necessary to access private or internal types (classes, structs, enums, Interfaces). From the view of C# is it neither possible nor planned. Read more...
When you start a program to interact later with its GUI you should check whether the main window is already created. Read more...
This Extension method builds a DataTable from an existing IEnumerable<T>. All data of public instance properties will be transferred. Read more...
This extension methods create HTML buttons as <Input>-elements which navigates with JavaScript to the given URL respectively Action/Controller. Read more...
This snippet shows that C# has also some strange features. Read more...
Diese Erweiterungsmethode wandelt eine verschachtelte Auflistung in ein zweidimensionales Array um. Read more...
Wer schon mal eine Benutzerverwaltung in einem MVC Webprojekt eingebaut hat dürfte die PasswordValidator Klasse kennen. Meine Erweiterung schränkt die Prüfung dahingehend ein, dass man nicht mehr alle 'Requirements' erfüllen muss, dafür aber eine Mindestzahl derer. Read more...
The new Universal Windows Platform Apps give us the opportunity to change the colors of the title bar of the app. This snippet shows an example for a green layout like the one of Excel. Read more...
You can share the most of your code in the new UWP. But not every class will work properly on every plattform, like the Gpio classes which will only work with the required Hardware. Read more...