VB Quark #7 : Optional Parameters and Dates
Hopefully you already know VB has full support for Optional parameters, both declaring them and calling them, but did you know you can use Dates as Optional parameters ? Public Sub AddNewCustomer(customer As Customer, Optional dateAdded As Date = Nothing) If dateAdded = Nothing Then dateAdded = Now VB has had this support for Optional […]
Click here to read more »