Upptäck NodeCollection ToArray-metoden, konvertera enkelt din nodsamling till en ny array, vilket förbättrar datahantering och tillgänglighet....docx" ); Shape [] shapes = doc . GetChildNodes (...( NodeType . Shape , true ). OfType < Shape >(). ToArray ();...