Skip to content

Commit 673d7e1

Browse files
authored
Delete mention of null characters from C# string intro (#43097)
1 parent e0f8d99 commit 673d7e1

File tree

1 file changed

+1
-1
lines changed
  • docs/csharp/programming-guide/strings

1 file changed

+1
-1
lines changed

docs/csharp/programming-guide/strings/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.assetid: 21580405-cb25-4541-89d5-037846a38b07
99
---
1010
# Strings and string literals
1111

12-
A string is an object of type <xref:System.String> whose value is text. Internally, the text is stored as a sequential read-only collection of <xref:System.Char> objects. There's no null-terminating character at the end of a C# string; therefore a C# string can contain any number of embedded null characters ('\0'). The <xref:System.String.Length%2A> property of a string represents the number of `Char` objects it contains, not the number of Unicode characters. To access the individual Unicode code points in a string, use the <xref:System.Globalization.StringInfo> object.
12+
A string is an object of type <xref:System.String> whose value is text. Internally, the text is stored as a sequential read-only collection of <xref:System.Char> objects. The <xref:System.String.Length%2A> property of a string represents the number of `Char` objects it contains, not the number of Unicode characters. To access the individual Unicode code points in a string, use the <xref:System.Globalization.StringInfo> object.
1313

1414
## string vs. System.String
1515

0 commit comments

Comments
 (0)