just wondering if there is any way of checking if Value A is equal to ANY value within an array (without using large loop functions) – sort of like a “Where” function.
e.g.
if (DataRow[column1value] == <any value within>Array A[])
{
//do...
}
Cheers!
In .NET 3.5 or higher, using LINQ:
In earlier versions of the framework: