Is it possible to pass an object array with the params key word by reference?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hd95
    New Member
    • Nov 2008
    • 24

    #1

    Is it possible to pass an object array with the params key word by reference?

    Is there a work around?
    Code:
    public Late MethodLate(string method, params object[] parameters)
            {
           return Late.Create(Method(method, parameters));
            }
    
    public object Method(string method, params object[] parameters)
           {
            return Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateCall(_obj, null, method, parameters, null, null, null, false);
         }
Working...