1 '============================================================================================
\r
2 'Name:Manish Kumar Sinha
\r
3 'Email Address: manishkumarsinha@sify.com
\r
4 'Test Case Name: Param Array:
\r
5 'APR-1.2.1: If ParamArray modifier is precied by ByVal modifier the it produces doesn't
\r
6 ' produces compiler error
\r
7 '============================================================================================
\r
10 Function F(ParamArray ByVal args() As Integer)As Integer
\r
16 Dim a As Integer() = { 1, 2, 3 }
\r
20 Throw New System.Exception("#A1, Unexcepted Behaviour in F(a)")
\r
23 b = F(10, 20, 30, 40)
\r
25 Throw New System.Exception("#A2, Unexcepted Behaviour in F(10,20,30,40)")
\r
29 Throw New System.Exception("#A3, Unexcepted Behaviour in F()")
\r
34 '============================================================================================