From f25f5c7787c905c48c7f1f965ff1a3f05bd599a7 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 14 Jan 2021 17:44:36 -0800 Subject: [PATCH 1/2] testing out linked remarks file --- xml/System/String.xml | 2 ++ xml/System/extra-remarks.md | 1 + 2 files changed, 3 insertions(+) create mode 100644 xml/System/extra-remarks.md diff --git a/xml/System/String.xml b/xml/System/String.xml index 45f5aa8e2aa..77f2788617c 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -99,6 +99,8 @@ ## Remarks +[!INCLUDE[extra-remarks](extra-remarks.md)] + A string is a sequential collection of characters that's used to represent text. A object is a sequential collection of objects that represent a string; a object corresponds to a UTF-16 code unit. The value of the object is the content of the sequential collection of objects, and that value is immutable (that is, it is read-only). For more information about the immutability of strings, see the [Immutability and the StringBuilder class](#Immutability) section. The maximum size of a object in memory is 2-GB, or about 1 billion characters. For more information about Unicode, UTF-16, code units, code points, and the and types, see [Introduction to character encoding in .NET](/dotnet/standard/base-types/character-encoding-introduction). diff --git a/xml/System/extra-remarks.md b/xml/System/extra-remarks.md new file mode 100644 index 00000000000..d21da1276e1 --- /dev/null +++ b/xml/System/extra-remarks.md @@ -0,0 +1 @@ +We can put all the extra info here! From 010a0899e225eaab307c6e0a76acb2acab29bba1 Mon Sep 17 00:00:00 2001 From: Genevieve Warren <24882762+gewarren@users.noreply.github.com> Date: Thu, 14 Jan 2021 18:17:46 -0800 Subject: [PATCH 2/2] move file to includes folder --- {xml/System => includes}/extra-remarks.md | 0 xml/System/String.xml | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename {xml/System => includes}/extra-remarks.md (100%) diff --git a/xml/System/extra-remarks.md b/includes/extra-remarks.md similarity index 100% rename from xml/System/extra-remarks.md rename to includes/extra-remarks.md diff --git a/xml/System/String.xml b/xml/System/String.xml index 77f2788617c..d252def2fba 100644 --- a/xml/System/String.xml +++ b/xml/System/String.xml @@ -99,7 +99,7 @@ ## Remarks -[!INCLUDE[extra-remarks](extra-remarks.md)] +[!INCLUDE[extra-remarks](~/includes/extra-remarks.md)] A string is a sequential collection of characters that's used to represent text. A object is a sequential collection of objects that represent a string; a object corresponds to a UTF-16 code unit. The value of the object is the content of the sequential collection of objects, and that value is immutable (that is, it is read-only). For more information about the immutability of strings, see the [Immutability and the StringBuilder class](#Immutability) section. The maximum size of a object in memory is 2-GB, or about 1 billion characters.