R
rahul gupta
i m in a confusion.
though there is syntactical differences between properties and
methods.
but same type of logics can be implemented by both i.e we can do same
piece of work from both.
Both can be used to manage private fields.
Then why we prefer properties over functions????
Why properties are more advantageous then methods
though there is syntactical differences between properties and
methods.
but same type of logics can be implemented by both i.e we can do same
piece of work from both.
Both can be used to manage private fields.
Then why we prefer properties over functions????
Why properties are more advantageous then methods