Private Sub SomeFunction(param As String)
msgBox param & " was passed!"
End Sub
Private Sub SomeFunction()
MsgBox "Nothing was passed."
End Sub
Private Sub SomeFunction()
Console.WriteLine("Nothing passed")
SomeFunction(String.Empty)
End Sub
Private Sub SomeFunction(param As String)
Can you use + in VB.NET or is that C# only?
You might need to use &
Console.WriteLine("Passed: " + param)
End Sub