Add Class examples from 04/01/2015

Signed-off-by: Amrit Panesar <apanesar@4195tech.com>
This commit is contained in:
Amrit Panesar committed 2015-04-02 00:03:23 -07:00
1 parent 6d88507dd9
commit cb718b990e
20 files changed
+1256 -1

No files matched your search

@@ -0,0 +1,16 @@
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