Driver code
public static void Main ( String [ ] args ) { String [ ] arr = { " ant " , " magenta " , " magnate " , " tan " , " gnamate " } ; int n = arr . Length ; Console . WriteLine ( largestAnagramSet ( arr , n ) ) ; String [ ] arr1 = { " cars " , " bikes " , " arcs " , " steer " } ; n = arr1 . Length ; Console . WriteLine ( largestAnagramSet ( arr1 , n ) ) ; } }