ushort keyword indicates an integral data type that stores values according to the size and range shown in the following table.
ushort keyword indicates an integral data type that stores values according to the size and range shown in the following table.
You can declare and initialize a ushort variable by assigning a decimal literal, a hexadecimal literal, or (starting with C# 7) a binary literal to it. If the integer literal is outside the range of ushort (that is, if it is less than UInt16.MinValue or greater than UInt16.MaxValue), a compilation error occurs.
Docs: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/ushort