我正在寻找能够转换" 10011101.11001001.01001100.00000000"到" 157.201.76.0"
答案 0 :(得分:1)
string ip = string.Join(".",
"10011101.11001001.01001100.00000000"
.Split('.')
.Select(x => Convert.ToInt32(x, 2).ToString(CultureInfo.InvariantCulture))
);