You are not logged in.

#1 2012-03-22 10:48:16

Stephen2
Member
Registered: 2012-03-21
Posts: 6

Mono: System.Collection.Generics

Probably a question with an answer so obvious that I'm embarrased to ask.

Installed mono & monodevelop - and I can't find System.Collection.Generics

find /usr/lib/mono | grep Collec

returns nothing

Can anyone offer any insight - I've googled a heap for something so simple.

Last edited by Stephen2 (2012-03-22 10:48:48)

Offline

#2 2012-03-22 12:08:00

lunar
Member
Registered: 2010-10-04
Posts: 95

Re: Mono: System.Collection.Generics

@Stehphen2: BCL types from "System.Collection.Generics" are scattered over "mscorlib", "System" and "System.Core", there is no dedicated "System.Collection.Generics" assembly.  What makes you think such an assembly would exist?

Generally there is no mapping between namespaces, which are merely abstract colllections of types, and assemblies, which are the concrete libraries that contain certain types and associated code . An assembly can contain multiple namespaces, and a namespace can be contained in multiple assemblies. You could even put your own types in "System.Collection.Generics" and pack them into a "Foobar" assembly, though it's not advisable to extend BCL namespaces.

Offline

#3 2012-03-23 07:48:52

Stephen2
Member
Registered: 2012-03-21
Posts: 6

Re: Mono: System.Collection.Generics

Too used to using .NET in Windows where everything gets dragged in by default and I never have to know how things hang together.

Thanks for the tips!!!  Told you it would be so obvious as to be embarassing.

Offline

#4 2012-03-23 09:41:29

lunar
Member
Registered: 2010-10-04
Posts: 95

Re: Mono: System.Collection.Generics

@Stephen2: I'm pretty sure that MonoDevelop automatically pulls in these assemblies, too, if you're using types from this namespace. But of course, MonoDevelop is no match to VisualStudio, imho not even to #develop…

Last edited by lunar (2012-03-23 09:41:51)

Offline

Board footer

Powered by FluxBB