"DataAvailable" property referred to but not used in code example #10896
Labels
area-System.Net.Sockets
help wanted
Good for community contributors to help [up-for-grabs]
untriaged
New issue has not been triaged by the area owner
Type of issue
Other (describe below)
Description
In the Examples section, the following sentence refers to the use of the
DataAvailable
property, however the shown code does not use theDataAvailable
property.The following code example uses DataAvailable to determine if data is available to be read. If data is available, it reads from the NetworkStream.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.net.sockets.networkstream.read?view=net-9.0#system-net-sockets-networkstream-read(system-byte()-system-int32-system-int32)
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Net.Sockets/NetworkStream.xml
Document Version Independent Id
b40c2ef4-b8a0-8de3-e71d-baf1aaae541b
Article author
@karelz
The text was updated successfully, but these errors were encountered: