Tuesday, November 27, 2018

For loop not necessary to add 2 element

list.Add(new Model{ Property = $"{infom.elmnt1} {infom.elmnt2}");
list.Add(new Model{ Property = String.Format("{0} {1}", infom.elmnt1, infom.elmnt2) };

No comments:

Post a Comment