Table of Contents

Enum ArgumentSeparator

Namespace
NCalc.Parser
Assembly
NCalc.Core.dll

Defines the available argument separator options for function arguments. Each option specifies which character should be used to separate arguments in function calls.

public enum ArgumentSeparator

Fields

Colon = 1

Uses colon (:) as the argument separator. This is less common but supported for specific use cases. Example: Max(1:2:3)

Comma = 2

Uses comma (,) as the argument separator. This is the most common separator used in mathematical expressions and programming languages. Example: Max(1, 2, 3)

Semicolon = 0

Uses semicolon (;) as the argument separator. This is commonly used in European locales where comma is used as decimal separator. Example: Max(1; 2; 3)