Domanda di colloquio di Microsoft

Write a method IntToString which converts an integer to a string with thousands separators.