How to where an array by c-sharp Lambda

var classify= ["Coke", "drumstick", "hamburger"];

data = data.Where (s = > s.Secretfylegs = "Coke" | | s.Secretfylegs = "chicken leg" | | s.Secretfylegs = "hamburger");

as above, how to filter an array with the values of Lambda. If you don"t know what the array contains, you need to traverse and filter things that contain these values

Nov.23,2021

   

Menu