Fixed SWIG for C# and made example file

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