Search code examples
c#variadic-functionsellipsis

Ellipsis notation in C#?


Where can I get info about implementing my own methods that have the ellipsis notation,

e.g.

static void my_printf(char* format, ...) { }

Also is that called ellipsis notation or is there a fancier name?


Solution

  • Have a look at the params keyword