I\'m using linq to filter a selection of MessageItems. The method I\'ve written accepts a bunch of parameters that might be null. If they are null, the criteria for the file
Like Brian said, I would look if the msg.FromName is null before doing the ToLower().Contains(fromname.ToLower()))