moving c# codes