A county may receive by grant, gift, devise, or bequest, and take charge of, own, hold, control, invest, and administer free from taxation, in accordance with the terms of the trust or the conditions of the gift, personal property, and real property in one county, for the use and benefit of the inhabitants of the county or as a park or recreation grounds, and to encourage, aid, and maintain the county cooperative work and education in agriculture and home economics. The county may, from time to time, by resolution of the county board, appropriate from the county revenue fund the sums deemed necessary by the board to suitably maintain, improve, and care for the property.