Description
Type of issue
Typo
Description
There are two constructors on this page which take an sbyte* input parameter. For each, the length
parameter is described as:
The number of characters within
value
to use.
Unlike the other constructors on this page, using the term 'characters' for these two is misleading. The number of characters within an sbyte* is variable, depending on how the decoding works out. Fortunately, what this parameter really wants is a count of the number of sbytes, not the (more difficult to calculate) number of characters.
Proposed replacement text:
The number of sbytes within
value
to use.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.string.-ctor?view=net-9.0
Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System/String.xml
Document Version Independent Id
90baab9e-9ef3-9bb5-d433-8d861d7fa876
Platform Id
ac6a36d8-9684-17ab-5b56-e2696ccb8adf