2
Answers

diff b/e Convert.ToInt32 and (int)

can any one explain me diff. b/w  (int32)ft,  Convert.ToInt32(ft);
 
float ft=123.45f;
int nm = (Int32)ft;
int nm2=Convert.ToInt32(ft);
 
Both give same output
Answers (2)