J
Jonathan Lurie
Hi
Suppose I have a function with object type parameter.
Function DoSomething(ByVal obj As Object) As Double
Return obj + 100
End Function
DoSomething(5)
I want to know when does the Boxing/unboxing takes place. Is it:
1. While receiving the value
2. or While using the object value. (Return obj + 100)
John
Suppose I have a function with object type parameter.
Function DoSomething(ByVal obj As Object) As Double
Return obj + 100
End Function
DoSomething(5)
I want to know when does the Boxing/unboxing takes place. Is it:
1. While receiving the value
2. or While using the object value. (Return obj + 100)
John