Assume I have a function:
Protected Sub UploadFile(file As String)
.......
End Sub
Then I can do the follwing
UploadFile(file)
But I would like to do this:
file.UploadFile()
Looks like Im missing logic in here, but still – is it possible to make dot-like notation?
I think you want an Extension method.