I recommend using mono and monodevelop for writing, building and running C# projects on linux.
sudo apt-get install monodevelop
Create a new project with Ctrl-Shift-N.