I have the following code
string addrStr = "010.000.000.010";
bool parsed = IPAddress.TryParse(addrStr,out IPAddress addr);
parse returns true but the returned IPAddress is 8.0.0.8
If I change addrStr to "10.0.0.10, I get the correct result.
It's like TryParse is treating the fields of the addrString as octals.
Is this behavior correct?