2 REM ExpectedError: BC30192
3 REM ErrorMessage: ParamArray parameter must be last in parameter list.
6 REM ExpectedError: BC30451
7 REM ErrorMessage: Name 'args1' is not declared.
10 REM ExpectedError: BC30311
11 REM ErrorMessage: Value of type '1-dimensional array of Integer' cannot be converted to 'Integer'.
14 REM ExpectedError: BC30311
15 REM ErrorMessage: Value of type '1-dimensional array of Integer' cannot be converted to 'Integer'.
17 '============================================================================================
18 'Name:Manish Kumar Sinha
19 'Email Address: manishkumarsinha@sify.com
20 'Test Case Name: ParamArray:
21 'APR-1.0.0: ParamArray can be used only on the last argument of argument list. it allows us to 'pass an arbitrary list. It allows us to pass an arbitrary number of argument to the procedure
22 '=============================================================================================
25 Function F(ParamArray args() As Integer,ParamArray args1() As Integer)as Boolean
37 Dim a As Integer() = { 1, 2, 3 }
38 Dim b As Integer() = { 1, 2, 3,4 }
42 Throw New System.Exception("#A1, Unexcepted Behaviour in F(a,b)")
46 '=============================================================================================