int nD1 = Convert.ToInt32(d1); int nD2 = Convert.ToInt32(d2); if (nD1 < nD2) MessageBox.Show("nD1 is less than nD2"); else MessageBox.Show("nD1 is NOT less than nD2");Einar
>int nD1 = Convert.ToInt16(d1); >int nD2 = Convert.ToInt16(d2); > >if (nD1 < nD2) {return -1;} >