Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
so i should clean the list from null and empty string using a if statement or remove (' ') and remove (Null) because I have tried remove () and I got this error System.NullPointerException: Attempt to de-reference a null object