How to match items of two list in C#?

Published on Author Ranjithilaga

 

var letterIndex = list_Position.indexOf(B);
var listId = (letterIndex + 1 > list_Id.Count) ? -1:  list_Id[letterIndex];

//listId==4

 

Comments

comments

Categories C#