# Query Synthetic Data via client libraries

{% tabs %}
{% tab title=".NET" %}

```csharp
using Google.Cloud.BigQuery.V2;

string projectId = "udp-unizin-prod";
string sql = @"SELECT id FROM `unizin-shared.event_store.expanded`
WHERE event_time BETWEEN DATETIME('2021-02-25') AND DATETIME('2021-02-26')
ORDER BY event_time DESC
LIMIT 1";

BigQueryClient client = BigQueryClient.Create(projectId);
BigQueryParameter[] parameters = null;
BigQueryResults results = client.ExecuteQuery(sql, parameters);
foreach (BigQueryRow row in results)
{
    Console.WriteLine($"{row["id"]}");
}
```

```sh
$ dotnet run
urn:uuid:d75e6fc8-ab88-4f25-accf-a1558ae9de6e
```

See more at <https://cloud.google.com/dotnet/docs/reference/Google.Cloud.BigQuery.V2/latest>
{% endtab %}
{% endtabs %}


---

# 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://resources.unizin.org/products/data-and-analytics/unizin-data-platform/data-stores/data-lake/synthetic-data/query-synthetic-data-via-client-libraries.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.
