LINQ의 IN 절 이 질문에는 이미 답변이 있습니다. Linq- 엔티티-SQL“IN” 9 번 답변 where in 절을 SQL Server와 비슷한 방법으로 만드는 방법은 무엇입니까? 나는 혼자서 만들었지 만 아무도 이것을 향상시킬 수 있습니까? public List Wherein(string listofcountrycodes) { string[] countrycode = null; countrycode = listofcountrycodes.Split(','); List statelist = new List(); for (int i = 0; i < countrycode.Length; i++) { _states.AddRange( from states in _objdatasources.StateList()..