Alleghany County is located in northwestern North Carolina , and its northern border is with the State of Virginia .
Alleghany County is a county in the U.S. state of North Carolina .