Note: This question was asked at a time when C# did not yet support optional parameters (i.e. before C# 4).
We\'re building a web API tha
Another option is to use the params keyword
public void DoSomething(params object[] theObjects) { foreach(object o in theObjects) { // Something with the Objects… } }
Called like...
DoSomething(this, that, theOther);