You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
365 B
15 lines
365 B
Module TargetTask
|
|
|
|
Public Function ExceptionTest(message$) As Integer
|
|
Throw New InvalidCastException(message)
|
|
End Function
|
|
|
|
Public Function Add100(i As Integer()) As Double()
|
|
Return i.Select(Function(n) Add(n, 100)).ToArray
|
|
End Function
|
|
|
|
Private Function Add(a#, b#) As Double
|
|
Return a + b
|
|
End Function
|
|
End Module
|