You will need additional hardware, such as an ESC (no code change) or a motor driver (read datasheet of the driver to determine what code you need).
Servos already have a built in ESC, but your motors don't, so you need to add it yourself for them to work.
(google around to learn more)
oh, and its just C, not C# (a different programming language, pronounced 'C sharp')