# Get Array Size

The "Get Array Size" block in the GraphLinq IDE provides the size or length of an array, which is crucial for many data processing tasks.

### Block Description

This block is categorized under Array blocks and is used to determine the number of elements in an array.

### Input Parameters

* Array (List\<object>): The array whose size is to be determined.

### Output Parameters

* Size (int): The number of elements in the array.

### Example Use Case

In a stock market analysis graph, the "Get Array Size" block can be used to determine the number of stock entries in an array before executing algorithms that require a specific sample size.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphlinq.io/dev-tooling/blocks/array/get-array-size.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
