How to output from UNO R3 commands from a C# application ?

I followed and copy-paste the code from this tutorial here:
" Example 3 - A more complete system"