Hello.
I've been trying to use ICollection<Users> to send object messages to custom users, but I cannot manage to create one.
I saw that ICollection belongs to .NET Framework 4, but Unity only has support up for .NET Framework 3.5.
Am I wrong? Is there any way to solve this??
Thanks!
ICollection supported by Unity?
-
- Posts: 30
- Joined: 20 Oct 2010, 19:37
ICollection<T> is an interface and as such, doesn't support creation directly. You need to use an implementing class such as List<T> or Dictionary<K,V>
There's a whole bunch of them in the system.collections.generic namespace
http://msdn.microsoft.com/en-us/library ... 90%29.aspx
edited: added reference link
There's a whole bunch of them in the system.collections.generic namespace
http://msdn.microsoft.com/en-us/library ... 90%29.aspx
edited: added reference link
-
- Posts: 30
- Joined: 20 Oct 2010, 19:37
Who is online
Users browsing this forum: No registered users and 26 guests