This is an odd question but in someones else's answer in a different question they posted the following
try
{
PingReply reply = pinger.Send(nameOrAddress);
pingable = reply.Status == IPStatus.Success;
}
How does pingable = reply.Status == IPStatus.Success;
work? To me that looks like an if statement without the if.