[cs] improve code smell
[cs] fix indentation and newlines