// For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET.git. Document doc = new Document(); Section section = doc.FirstSection; Body body = section.Body; // Quick typed access to all Table child nodes contained in the Body. TableCollection tables = body.Tables; foreach (Table table in tables) { // Quick typed access to the first row of the table. table.FirstRow?.Remove(); // Quick typed access to the last row of the table. table.LastRow?.Remove(); }