Effortlessly clear your NodeCollection with our Clear method, removing all nodes from both the collection and the Document for optimal performance....Document doc = new Document ( MyDir + "Document.docx" ); // This...document's contents. Assert . That ( doc . Sections . Count , Is . EqualTo...