Check if two numbers are equal without using comparison operators | C # code to check if 2 numbers are same ; Finds if a and b are same ; Driver code
using System ; class GFG { static void areSame ( int a , int b ) { if ( ( a - b ) == 0 ) Console . Write ( " Same " ) ; else Console . Write ( " Not ▁ Same " ) ; } public static void Main ( ) { areSame ( 10 , 20 ) ; } }