1 '==============================================================================================
\r
2 'Name:Manish Kumar Sinha
\r
3 'Email Address: manishkumarsinha@sify.com
\r
4 'Test Case Name: Argument passing by Reference:
\r
5 'APR-1.3.0: If the variable elements is of reference type i.e. it contain a pointers to a class
\r
6 ' then procedure can change the members of instance to which it points
\r
7 '==============================================================================================
\r
10 Imports System.Array
\r
13 Public Sub Increase(ByRef A() As Long)
\r
20 Public Sub Replace(ByRef A() As Long)
\r
22 Dim K() As Long = {100, 200, 300,400}
\r
31 Dim N() As Long = {10, 20, 30, 40}
\r
32 Dim N1() As Long = {11, 21, 31, 41}
\r
33 Dim N2() As Long = {101, 201, 301, 401}
\r
38 Throw New System.Exception("#A1, Unexception Behaviour in Increase Function")
\r
44 Throw New System.Exception("#A2, Unexception Behaviour in Increase Function")
\r
51 '==============================================================================================