void Report( FilteredElementCollector a ) { int n = 0; string s = _msg; foreach( Element e in a ) { ++n; s += string.Format( "\r\n {0}", Util.ElementDescription( e ) ); } s = string.Format( s, n, Util.PluralSuffix( n ) ); Util.InfoMsg( s ); }