Which of the following inventory costing methods yields the highest cost of goods sold during a period of rising inventory​ costs?
A. weighted−average
B.specific identification
C.first−​in,firsts−out
D.last−​in,first−out