If pattern matches then print the corresponding mapped words
if ( map . ContainsKey ( pattern ) ) { foreach ( String word in map [ pattern ] ) { Console . WriteLine ( word ) ; } } else { Console . WriteLine ( " No ▁ Match ▁ Found " ) ; } }