Advertisement
Guest User

approach

a guest
Jun 3rd, 2017
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.14 KB | None | 0 0
  1. for (int col = Math.Max(0, targetCol - radius); col <= Math.Min(targetCol + radius, target[targetRow].Count - 1); col++)
  2.  {
  3. // do smth
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement