1 '=============================================================================================
\r
2 'Name:Manish Kumar Sinha
\r
3 'Email Address: manishkumarsinha@sify.com
\r
4 'Test Case Name: Argument passing by Value:
\r
5 'APV-1.0.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 Function Increase(ByVal A() As Long) As Long()
\r
21 Function Replace(ByVal A() As Long) As Long()
\r
23 Dim K() As Long = {100, 200, 300, 400}
\r
33 Dim N() As Long = {10, 20, 30, 40}
\r
34 Dim N1() As Long = {0,0,0,0}
\r
40 Throw new System.Exception ("#A1, Unexpected behavior in Increase function")
\r
46 Throw new System.Exception ("#A2, Unexpected behavior in Replace function")
\r
51 '===========================================================================================