7. Xiaofang, Xiaoming, Xiaoma, and Xiaohong participated in a competition and were asked by a reporter: "Who among you four got first place?" Xiaofang said: "I got first place." Xiaoming said: "Xiaohong didn't get first place." Xiaoma said: "Xiaoming didn't get first place." Xiaohong said: "I got first place." It is known that only one of the four told the truth, and only one of them got first place. Based on the above information, the first place is ( ).
(A) Xiaoming
(B) Xiaoma
(C) Xiaohong
(D) Xiaofang
7. A.

From what Xiao Ming and Xiao Hong said, we know that one of them is telling the truth and the other is lying. If what Xiao Ming said is true, then the statements of the other three are all false, which leads to Xiao Ming getting the first place, satisfying the condition.