Think of properties as an extension of a field (or variable). But
properties don't denote storage space like a field but have accessors that
allow you to execute code when their values or written or read. You can
also add modifiers to properties such as virtual, abstract, or override that
apply to the accessors of the property.
One other thing to remember is that the variable name used in a public field
in a class is the name that will appear in Intellisense. Personally...
seeing something like m_AccountNumber in intellisense drives me nuts.
--
C Addison Ritchie, MCSD.NET
Ritch Consulting, Inc.
"Bobby" <bo***********@epselindo.com> wrote in message
news:uT*************@TK2MSFTNGP12.phx.gbl...
Hi all...
What is the different between using property and variable?
Their all functionality is same (for store a value). I get this issue when
I want find the best way to passing a parameter between form (Windows
application).
And, what is the best way to passing value to other form?
Thanks all..