What code (like C#) does it take to make a widget? (specifically a start menu)

Title explains it all

I guess technically any language, while some have easier time with existing bindings. But QML (Javascript) is good starting point.