Fix string escaping

Fix string escaping for the c# sample.