Home > Documentation > Syntax > Functions > Runcs
Execute C Sharp code. The source is located independently and compiled when the project is built. The function is typically referenced with the appropriate namespace and class qualifications.
Definition
runcs(arg1)
Parameters:
- arg1 – string
Function to call.
Returns:
- The return value of the function that was called.
Eg:
runcs("namespace.class.method(args,etc)")
runcs("CS.MyClass.DoThis(123, ""myargval"")")

Leave a comment