>When I try to compile the code I get a slew of errors such as the ones below
>
>
>Error 1 'int' does not contain a definition for 'InList'
>Error 2 'string' does not contain a definition for 'InList'
>Error 3 'System.Array' does not contain a definition for 'Contains'
>
>
>
>have you compiled it ? ( I'm using VS2005 but have access to VS2008 )
___
Pete,
Seems like it's a C# 3.0 feature
http://msdn.microsoft.com/en-us/library/bb308966.aspx
Gregory