I'm working with linq and need your help please.
I have a string SelectedVersion that I pass from my view to the controller.
I want the linq to return query that contain the string SelectedVersion
list = _unitOfWorkCABusinessRules.RuleDetailRepo.GetAll().ToList();
list = list.Where(x => x.Version.Contains(model.SelectedVersion));
model.SelectedVersion is a string array
x.Version is a string
the error says: " I cannot convert string  to string "
how can I solve this syntax?