I have a PCL project focused on 4.5.net framework.
I import System.Collections.Specialized on top of my file:
using System.Collections.Specialized;
but I get the error "NameValueCollection could not be found."
Based on documents:
http://msdn.microsoft.com/en-us/library/system.collections.specialized.namevaluecollection(v=vs.110).aspx It should be available under 4.5.net.
I assume that since Xamarin uses some subset of the class library.
How do I know which classes are not available in a Xamarin project?
Are there specific Xamarin.net docs? Why is this particular NameValueCollection class not available?
Sorry for such a lame question, but Xamarin is rather confusing at the beginning.
As a side note - I saw that people create the main C # project, which is supposed to be used for all platforms. What is the difference between creating a PCL project and then including it in an iOS / Android / WP8 project and a main C # project (is this possible)?
Piotr
source share