Answers for "linq where in"

C#
2

linq where in list

var allowedStatus = new[]{ "A", "B", "C" };
var filteredOrders = orders.Order.Where(o => allowedStatus.Contains(o.StatusCode));
Posted by: Guest on November-19-2020
0

where in linq

dataSource.StateList.Where(s => countryCodes.Contains(s.CountryCode))
Posted by: Guest on June-30-2021
-2

linq where c#

linq in c#
Posted by: Guest on May-14-2021

C# Answers by Framework

Browse Popular Code Answers by Language