In another saucepan, combine the sugar and flour. Stir the egg and whisk until the mixture lightens in colour. Whisk in a little hot milk to temper the egg mixture and continue with the remaining milk. Cook over medium heat, stirring with a whisk. Remove from the heat at the first sign of a boil.