1.

Which of the following is correct way to convert a String to an int? String s = "123"; int i; i = (int)s; String s = "123"; int i; i = int.Parse(s); String s = "123"; int i; i = Int32.Parse(s); String s = "123"; int i; i = Convert.ToInt32(s); String s = "123"; int i; i = CInt(s);

A. 1, 3, 5
B. 2, 4
C. 3, 5
D. 2, 3, 4
Answer» E.


Discussion

No Comment Found