Advertisement
pszczyg

Untitled

May 2nd, 2016
915
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.31 KB | None | 0 0
  1.             var list = new List<int>();
  2.             for (int index = 0; index < list.Count; index++)
  3.             {
  4.                 if (VeryRareCondition(list[index]))
  5.                 {
  6.                     var item = list[index];
  7.                     DoSomethingVeryRare(x => x*item);
  8.                 }
  9.             }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement