The electronic properties of heterojunction electron gases formed in GaN/AlGaN core/shell nanowires with hexagonal and triangular cross sections are studied theoretically. We show that at nanoscale dimensions, the nonpolar hexagonal system exhibits degenerate quasi-one-dimensional electron gases at the hexagon corners, which transition to a core-centered electron gas at lower doping. In contras...