# Modules as Extensions

> [`Tango.Linq.CollectionLinqExtensions`](https://github.com/gabrielschade/Tango/blob/master/Tango/Tango/Modules/Collection/Collection.Linq.cs)
>
> [`Tango.Linq.EitherLinqExtensions`](https://github.com/gabrielschade/Tango/blob/master/Tango/Tango/Modules/Either/Either.Linq.cs)
>
> [`Tango.Linq.OptionLinqExtensions`](https://github.com/gabrielschade/Tango/blob/master/Tango/Tango/Modules/Option/Option.Linq.cs)

The three main modules availables in **Tango** can be used as extension methods to its respectives types by using `Tango.Linq` namespace.

After include this namespace is possible to use virtually every method of [Option](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Option/Introduction.html), [Either](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Either/Introduction.html) and [Collection](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Collection/Introduction.html) modules.

You can find the original methods in sections:

* [CollectionModule](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Collection/Introduction.html)
* [OptionModule](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Option/Introduction.html)&#x20;
* [EitherModule](https://github.com/gabrielschade/tango/tree/379cc4a38ae47796971eb875ec66e7dc053a9081/Types/Either/Introduction.html)


---

# 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://gabriel-schade-cardoso.gitbook.io/tango/extensions/modules-as-extensions.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.
