Stupid question (can't find the answer in the book.) When strict is on, what do you put at the end of a method declaration in order to make it compile when you don't want to return anything (in C/C++ you have void)?
Code:Option Strict On Option Explicit On Module Module1 Sub Main() End Sub Function Addition(ByVal n As Integer, ByRef result As Integer) As Nothing End Function End Module




.) When strict is on, what do you put at the end of a method declaration in order to make it compile when you don't want to return anything (in C/C++ you have void)?
Reply With Quote