System.Array has a Contains() method doesn't it? System.Array  
implements System.Collections.IList and I see the implementation in  
Array.cs, but when I try

string[] x = new string[]{"a", "b"};
Console.WriteLine(x.Contains("b"));

I get

error CS0117: `string[]' does not contain a definition for `Contains'

What's wrong? Using gmcs with latest mono release.

Thanks

Chris Seaton
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to