Files
2015-04-02 00:03:23 -07:00

17 lines
429 B
VB.net

Public Class Statename
Public Property Abbreviation As String
Public Property Statename As String
Public Sub New(abbr As String, state As String)
Abbreviation = abbr
Statename = state
End Sub
Public Overrides Function ToString() As String
Return String.Format("{0} is the abbreviation for {1}", _
Abbreviation, Statename)
End Function
End Class