Table of Contents

Variadic parameter must be at the last position (AJTERR10044)

Product(s) Karo.NET Compiler

Description

A variadic parameter must be at the last position in the parameter list.

|test: string, ...optionalParameters: string, test2: string|
//             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Not at last position

How can I resolve this error?

Move the variadic parameter to the last position.