View difference between Paste ID: w1q7Xy1M and CWDD5R0m
SHOW: | | - or go back to the newest paste.
1
for (int col = Math.Max(0, targetCol - radius); col <= Math.Min(targetCol + radius, target[targetRow].Count - 1); col++)
2
 {
3
// do smth
4
}