No difference found
private void pushButton_Click(object sender, EventArgs e) { int oldYear = dateTimePicker1.Value.Year; int currentYear = dateTimePicker2.Value.Year; MessageBox.Show(currentYear - oldYear +1 + "세 입니다"); }
private void pushButton_Click(object sender, EventArgs e) { int oldYear = dateTimePicker1.Value.Year; int currentYear = dateTimePicker2.Value.Year; MessageBox.Show(currentYear - oldYear +1 + "세 입니다"); }