Although you can build a fence out of all 2 x 4s, it would not be very cost-effective to use this method.