int num1 , num2;
bool equel ;
equel =((num1 % 10 == num2 % 10 || num1 % 10 == num2 / 10) && (num1 / 10 == num2 / 10 || num1 / 10 == num2 % 10));
Console.WriteLine("enter two numbers");
Console.WriteLine("enter the first two digir number");
num1 = int.Parse(Console.ReadLine());
Console.WriteLine("enter the secound to digit numbers");
num2=int.Parse(Console.ReadLine());
if(equel)
Console.WriteLine("the digits of the two numbers are equels");
else
Console.WriteLine("the digits of the two numbers are not equels");
Error 1 Use of unassigned local variable 'num1' D:\project visual studios\ConsoleApplication6\ConsoleApplication6\Program.cs 15 29 ConsoleApplication6