Vidyalelo
C# Programming · Q27

Functions and Methods in C Sharp

Programming · C# Programming · question 27

Q27

In C#, which method is used to convert a string representation of a number to its integer equivalent?

A.
string.ToInt()
B.
Math.ToInt()
C.
int.Parse()
Answer
D.
Convert.ToInt32()

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board