Concept:A primary election is held within a political party to choose its candidate for an elective office.Explanation:Party members vote in a primary election to select the candidate who will represent their party in the main election.The general election is between candidates of different parties, not for choosing party candidates.A bye election fills a vacancy, and a direct election simply means voters elect officials directly.Since the question asks about party members choosing candidates, the correct type is a primary election.Answer:D. primary election