I have a variable defined as
var model = new List<someviewmodel>();
if i drill down model
model.items.inspectionitems.Value = 62
model.items.inspectionitems.Value = 63
And then i have another variable with just a number in it
var number = 62
Another property I have inside the model is "isSelected".
what I basically want to do is whatever value i have in var number, I want to go in Model and find that particular item and set the "isSelected" property to true.