📄 arguments_byreferenceb.vb
字号:
'============================================================================================='Name:Manish Kumar Sinha 'Email Address: manishkumarsinha@sify.com'Test Case Name: Argument passing by Reference:'APR-1.4.0: If procedure is define by passing argument by reference and while calling the' procedure it is passes by giving parentheses around the variable then it protect' it from change '=============================================================================================Imports SystemModule APR_1_4_0 Function F(ByRef p As Integer) As Object p += 1 End Function Function Main() As Integer Dim a As Integer = 1 F((a)) If (a <> 1) Then System.Console.WriteLine("#A1, Unexpected behavior in Arguments_ByReferenceB.vb") : Return 1 End If End FunctionEnd Module'==============================================================================================
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -