try this
object[] objs = new object[] {obj1, obj2};
for more details about array http://msdn.microsoft.com/en-us/library/9b9dty7d.aspx
You can also find more on http://www.dotnetperls.com/object-array
try this
object[] objs = new object[] {obj1, obj2};
for more details about array http://msdn.microsoft.com/en-us/library/9b9dty7d.aspx
You can also find more on http://www.dotnetperls.com/object-array