Restored C# example file

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>
Added example for Java

Signed-off-by: Ian Bell <ian.h.bell@gmail.com>