In the exercise of the authority hereinbefore granted by this article, the county commissioners may purchase in accordance with the provisions of this act, take by gift, or acquire by the power of eminent domain, real property of all kinds whether devoted to a private or a public use in the manner provided by law.
16 P.S. § 2603