quickrun.vim で C# のコマンドラインコンパイラを利用する設定。set shellslashでも動作する(と思う)。vimprocだとうまく動かず。
let g:quickrun_config = { }
let g:quickrun_config['cs'] = {
\ 'command' : 'csc',
\ 'runmode' : 'simple',
\ 'exec' : ['%c /nologo %s:gs?/?\\? > /dev/null', '"%S:p:r:gs?/?\\?.exe" %a', ':call delete("%S:p:r.exe")'],
\ 'tempfile' : '{tempname()}.cs',
\ }