is there any better way to define the Range?
PHP Code:
for (int i = 0; i < 18; i++)
{
var Add = from d in Dictionary.Clients
where Math.Max(Math.Abs(d.Value.X - Client.X), Math.Abs(d.Value.Y - Client.Y)) < i
select (d.Key);
foreach (uint Char in Add)
if (!Clients.Contains(Char))
Clients.Add(Char);
//i need to find another way to do it so i dont have to loop + foreach at the same time !
}