Posted By: ido.ran | Aug 28th @ 1:34 AM
page 1 of 1
Comments: 6 | Views: 319

Microsoft has the namespace MS.Internal which has all kind of interesting classes.

Why do they keep it internal and not release it - for example, I needed a WeakReferenceList and just happen to find it in there along with CopyOnWriteList which is great too.

 

You do a good work, why keep it secret ?

 

Ido.

Because if they make it public then they have to document it and support it. It also means it cannot be removed or changed in radical ways because it would break everyone that uses it. All the joy that you get when you make a type or method public.

figuerres
figuerres
???

Yeah, i really hope no one starts depending on stuff they have marked as "do not use this"

that will some day make the app explode when they change or remove some of that stuff....

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?

W3bbo
W3bbo
The Master of Baiters

You can use them too, just dump their disassembly with Reflector and compile it into your own program.

 

of course, that might be breaking copyright.

Sven Groot
Sven Groot
My name has 9 letters. Coincidence? I think not...

It might break copyright, but it will definitely break the EULA.

page 1 of 1
Comments: 6 | Views: 319
Microsoft Communities