clean up of C#