public static void Main()
Console.Write("Введите первое число: \n");
var a = double.Parse(Console.ReadLine().Replace('.',','));
Console.Write("Введите второе число: \n");
var b = double.Parse(Console.ReadLine().Replace('.',','));
var aWithThreeAfter = Convert.ToInt64(a * 1000) * 10;
var bWithThreeAfter = Convert.ToInt64(a * 1000) * 10;
var aWithFourAfter = Convert.ToInt64(a * 10000);
var bWithFourAfter = Convert.ToInt64(b * 10000);
if(aWithFourAfter - aWithThreeAfter >= 5) aWithThreeAfter += 10;
if(bWithFourAfter - bWithThreeAfter >= 5) bWithThreeAfter += 10;
if(aWithThreeAfter == bWithThreeAfter)
Console.WriteLine("Значения совпадают с точностью до третьего знака после запятой включительно!");
else Console.WriteLine("Значения не совпадают с точностью до третьего знака после запятой включительно!");