views:

325

answers:

2

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?

+11  A: 

Have a look at the params keyword

PieterG
+6  A: 

params:

static void MyPrintf(string format, params object[] args) { }
Darin Dimitrov