I've just bought a Belkin N+ Wireless Router. When I plug it directly into my computer I can navigate to its setup page at 192.168.2.1 - however, when I plug it into a random part of the network it still functions as a wireless hub but I can't get to its setup page at 192.168.2.1

Now I'm guessing that the main router has given it an IP. How can I find out what that is? I've looked on the web page for the main router and listed all IP's that are connected to it and tried to access each one but that didn't work.


Question: combining if conditions inside a lambda
Answer: Instead of adding all of that negation, you should write in code exactly what you wrote in your description:


  If every user has ID zero or is authorized.


return list.All(a =&gt; a.SomeId == 0 || IsAuthorizedOnID(TheUserID, a.SomeID));