Whenever two railroad companies shall, for a portion of their respective lines, embrace the same location of line, they may by agreement provide for the construction of so much of said line as is common to both of them, by one of the companies, and for the manner and terms upon which the business thereon shall be performed.
N.C. Gen. Stat. § 136-193