* convert code into c sharp code standard