Click or drag to resize
BinaryWriterWrite Method (Single)
Writes a four-byte floating-point value to the current stream and advances the stream position by four bytes.

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax
C#
public virtual void Write(
	float value
)

Parameters

value
Type: SystemSingle
The four-byte floating-point value to write.
Exceptions
ExceptionCondition
IOExceptionAn I/O error occurs.
ObjectDisposedExceptionThe stream is closed.
See Also