I have class with its object properties marked “internal”. There is no accessibility issues and across the project all members can access them. But if I have set any of those properties to DisplayMember of any GUI component, then it has to be marked “public” to work properly. Else, say a listbox, displays the object’s ToString() as the items. Why is it so?
I have class with its object properties marked internal. There is no accessibility issues
Share
Likely the databinding functionality built in, only reflects on public properties.