These are some excellent code refactoring techniques… Pull Up Field
Pull Up Method
Push Down Field
Push Down Method
You can find more great examples on this website…