System.UInt16 type criteria - Csharp.Net
Q. You need to identify a type that meets the following criteria:
• Is always a number.
• Is not greater than 65,535.
Which type should you choose?
- Published on 31 Aug 15a. System.UInt16
b. int
c. System.String
d. System.IntPtr
ANSWER: System.UInt16
The maximum value of System.UInt16 is 65535 so you can store more than this value.