Discover the NodeCollection ToArray method, effortlessly convert your node collection into a new array, enhancing data management and accessibility.... Count ( s => s . ShapeType == ShapeType...Assert . AreEqual ( 1 , shapes . Count ( s => s . ShapeType == ShapeType...