# Visual Studio snippets

## Visual Studio snippets

Bepaalde code zal je vaak opnieuw schrijven. Er zitten in VS tal van shortcuts om deze typische lijnen code sneller te schrijven. Schrijf een van volgende stukken code en druk dan 2x op de \[tab]-toets:

* `cw` : schrijft `Console.WriteLine()`;
* `for`
* `foreach`
* `while`
* `dowhile`
* `switch`
* `///`: automatisch methode commentaar blok
* `propfull`: full property
* `prop`: auto-property
* `ctor`: constructor
* `try`: geeft een try-catch blok


---

# 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://apwt.gitbook.io/zie-scherp-scherper/appendix/prostuff.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.
