wkempf said:
Dexter said:
*snip*
Another reason: those internal classes can be designed to meet a specific need, which means they aren't necessarily appropriate for general consumption. The implementations can make some assumptions about the environment and the usage patterns that a general
purpose version could not.
@ido.ran you have private code in your own projects, don't you? Why wouldn't Microsoft do the same thing?
Hi,
Thank you for all the replies.
I'm not attacking Microsoft, sure they have the right to put stuff private and internal - that's why they create those keywords in the first place.
It just that I needed a WeakReferenceList implementation, and didn't find any public class like it, so I search in the reflector and found the internal one in WindowsBase assembly.
I fully understand that if they made the class internal they have a reason - and also I understand that WeakReferenceList can have difference implementation depend on the needs.
The bottom line is that Microsoft did a good job. Little more and it will be great.
Ido.
Thread Closed
This thread is kinda stale and has been closed but if you'd like to continue the conversation, please create a new thread in our Forums,
or Contact Us and let us know.