*** Passes 20 parameters to Invokemethod
*** Result displays the 20th integer value passed (20)

do wwDotNetBridge
LOCAL loBridge as wwDotNetBridge
loBridge = CreateObject("wwDotNetBridge")

LOCAL loTests as Westwind.WebConnection.TypePassingTests
loTests = loBridge.CreateInstance("Westwind.WebConnection.TypePassingTests")

? loBridge.InvokeMethod(loTests,"Pass24Parameters",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24)


*** public int PassUnlimitedParameters(params int[] numbers)
*** Should return 16
? loBridge.InvokeMethod( loTests,"PassUnlimitedParameters",1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16)

RETURN