public static void GetParentNode()
{
// ExStart:GetParentNode
// Create a new empty document. It has one section.
Document doc = new Document();
// The section is the first child node of the document.
Node section = doc.FirstChild;
// The section's parent node is the document.
Console.WriteLine("Section parent is the document: " + (doc == section.ParentNode));
// ExEnd:GetParentNode
}
public static void OwnerDocument()