Note: Other terms for state include property, attribute and data member.
Constant
When we need to store a value that does not change, we declare a constant.
Code eg: Constant Declaration
Private Const strThisConstant As String = "Something"
Variable
When we need to store a value that will need to change, we use a variable.
When we need to store a value that will need to change, we use a variable.
Code eg: Variable Declaration
Private strThisVariable As String = "Something"
No comments:
Post a Comment