title: How to replace some string in generic list in linq
body: <p>i have generic list in my application which has image path in every record.that image path would be different for different sites. so path would be changes accordingly. i want to replace path in list only and then will sent to my view. Image contains path :"department/DEPTIMAGE.JPG". now i want a list where image should be "PetDeptImages/DEPTIMAGE.JPG" How will i change my list ? Please suggest. My List is :</p>
  
  <pre><code> var list = nav.Where(x =&gt; x.ParentCategoryId.Equals(Id)).ToList();
  </code></pre>