what is component base programming in .net or c#,and what is properties in c#.
hi all i am little bit confused while i make class member private and then i want to acess that member that time we have to define properties for that member , but at this point i want to say that whien i useing class member as public by making it's public properties then why we need to define class member as private ....
what is component base programming in .net or c#,and what is properties in c#.
===

hi all i am little bit confused while i make class member private and then i want to acess that member that time we have to define properties for that member , but at this point i want to say that whien i useing class member as public by making it's public properties then why we need to define class member as private ....