Properties vs Method
Properties | Method |
Reflects the properties of the object through the field. | Reflects the object's behavior. |
No parameters. | Can have parameters. |
Can be overridden, but cannot be overloaded. | There are both override and overload. |
Includes field and get and set expressions. Automatically called when accessing the field it manages. | Programmers must call depending on usage needs. |
Last updated