complete code gen for c#
complete the c# gen 
but it doesnt happy with the newline() and write(int) call
can you look at it