C# template compiler error for non-string parameters

When swagger definition defines non-string parameters, C# codegen template results cannot be compiled