static void Main(string[] args) { var Sol = new Solution(); Console.WriteLine(Sol.DefangIPaddr("1234.4312.42.12312")); }