BinaryWriter.Write Method (UInt16)
Writes a two-byte unsigned integer to the current stream and advances the stream position by two bytes.
This API is not CLS-compliant.
Assembly: mscorlib (in mscorlib.dll)
BinaryWriter stores this data type in little endian format.
For a list of common I/O tasks, see Common I/O Tasks.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1