I've following array of strings. Default value of each string is set to string.Empty. And this array is returned by a fuction. Now, I want to print only those indexes that are not null. I can use if-else for each index but it could be very long way for going through 8 items. is there any short way so that I can print only those items that are not nulll
string [] muniSearches = {airSearchReport, certOfOccupancy, emerRepair, fire, fZone,foSearch, health, hsVoilation};