Advertisement
Guest User

Untitled

a guest
Apr 17th, 2013
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. Public Class Beryllium
  2. Public Const AtomicNumber As Byte = 4
  3. Public Const Symbol As String = "Be"
  4. Public Const Name As String = "Beryllium"
  5. Public Const AtomicMass As Double = 9.012182
  6.  
  7. Public Const List = AtomicNumber & vbNewLine & Symbol & vbNewLine & Name & vbNewLine & AtomicMass 'This line
  8. End Class
  9.  
  10. Public Shared ReadOnly List = AtomicNumber & vbNewLine & Symbol & vbNewLine & Name & vbNewLine & AtomicMass
  11.  
  12. Public Const Name As String = "Beryllium"
  13.  
  14. If (something = Name)...
  15.  
  16. If (something = "Beryllium")
  17.  
  18. Public ReadOnly Property List() As String
  19. Get
  20. Return AtomicNumber.ToString() & vbNewLine & Symbol & vbNewLine & Name & vbNewLine & AtomicMass
  21. End Get
  22. End Property
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement