Upptäck egenskapen NodeCollection Count för att enkelt komma åt det totala antalet noder i din samling, vilket förbättrar datahantering och effektivitet....MyDir + "Nested tables.docx" ); NodeCollection tables = doc . GetChildNodes...NodeType . Table , true ); for ( int i = 0 ; i < tables . Count...