37 var stringsOfPercent =
function.value.Split(
new char[] {
'#' });
38 bool isOneForAll = stringsOfPercent.Length <
function.itemsForAction.Count;
41 for(
int i = 0; i <
function.itemsForAction.Count; i++)
43 int percents = isOneForAll ?
int.Parse(stringsOfPercent[0]) :
int.Parse(stringsOfPercent[i]);