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...1 , doc . Sections . Count ); Assert . AreEqual ( 17 , doc . Sections...