string strError=string.Empty;
Func<string,string,string> AppendLine=(source,append) =>source+(string.IsNullOrEmpty(source)) ? "":"\n") + append;
Action<bool,string> CheckControl =(condition,errotText)=>
{
if (condition) strError=AppendLine(strError,errotText);
};