Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion snippets/csharp/System.Xml/XmlReader/Overview/XmlReader_Basic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,15 @@ static void Node_Value() {
break;
}
}

/*
The example displays the following output:

<Item>Test with an entity: 123</Item><Item>Test with a child element <more> stuff</Item>
<Item>Test with a CDATA section <![CDATA[<456>]]> def</Item><Item>Test with a char entity: A</Item>
<!-- Fourteen chars in this element.--><Item>1234567890ABCD</Item></Items>
*/

//</snippet8>
}

Expand Down Expand Up @@ -349,4 +358,4 @@ static void IsStartElement_2() {
//</snippet17>
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>Library</OutputType>
<TargetFramework>net9.0</TargetFramework>
</PropertyGroup>

</Project>
Loading