Freehammer is a project mainly written in C#, it's free.
My project to make a wargame similar to warhammer 40k... but free and open!