Is there any (smart) way to hide the separator if my list only contains one item?
For example
One or more items were not found based on their id: {string.Join(",", notFoundIdsList)}.
Should not show the comma at the end if there is only one item in the notFoundIdsList.