Google News
logo
C# - Quiz(MCQ)
Which of the following converts a type to a 16-bit integer in C#?
A)
ToInt16
B)
ToInt32
C)
ToDouble
D)
ToDecimal

Correct Answer :   ToInt16


Explanation : ToInt16() method converts a type to a 16-bit integer.

Advertisement