> For the complete documentation index, see [llms.txt](https://astro-rpa.gitbook.io/astro-rpa-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://astro-rpa.gitbook.io/astro-rpa-user-guide/g_elements/el_basic/els_prog/el_prog_cs.md).

# C# Script

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-16fe17ef234f0a75f66653bd0d591d691075f801%2Fimage%20\(5\).png?alt=media)

Element executing a script in C#

![](https://1755238209-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FNnEkyZmLMSWTDXxpygbG%2Fuploads%2Fgit-blob-a034e7d6000483fa1f2578fed14ea41f59901075%2F1%20\(102\).png?alt=media)

Properties

\- Expression: \[String] Expression that returns the script text

\- Script: \[String] Script text

\- Result: \[T] Variable for saving script execution results

\- Update variables: \[Boolean] Update variables, used in script. If true, return command is forbidden
