update C#

did a mild amount of work.