I build an addon for chromium, that translates the C# examples on the docs.microsoft.com website to Swift, Oxygene or Mercury.
Download: tverweij/Translate-C-to-a-RemObjects-language at v1.0 (github.com)
Example:
After you clicked the Translate to Oxygene button, the first code example looks like: