C # program to check if two strings are rotations of each other .
using System ; class GFG { public static bool isRotation ( string a , string b ) { int n = a . Length ; int m = b . Length ; if ( n != m ) return false ;