Clears the collection but without changing its capacity.
| 333 | /// Clears the collection but without changing its capacity. |
| 334 | /// </summary> |
| 335 | void Clear() |
| 336 | { |
| 337 | _count = 0; |
| 338 | for (int32 i = 0; i < _chunks.Count(); i++) |
| 339 | { |
| 340 | _chunks[i]->Clear(); |
| 341 | } |
| 342 | } |
| 343 | |
| 344 | /// <summary> |
| 345 | /// Clears the collection and releases the dynamic memory allocated within the container. |