csharp: typos

combine #574 #575 #576 to one pr