It is a pattern that occurs quite often in one part of our Framework. Given an Array of Strings, we have to concat all of them, seperated by Semicolons.
I´d like to know
try:
var result = string.Join(",", values.Where(s => !string.IsNullOrEmpty(s)));