Mega Code Archive
Categories
/
VB.Net Tutorial
/
Class Module
Optional parameters
Module Module1 Sub Main() ShowMessage() End Sub Sub ShowMessage(Optional ByVal strText As String = "Hello there!") System.Console.WriteLine(strText) End Sub End Module Hello there!