In a saucepan off the heat, combine the sugar and cornstarch. Whisk in the egg yolks. Stir in the remaining milk and the cream. Bring to a boil over medium heat, whisking constantly, scraping the sides and bottom of the pan, until the mixture has thickened. Remove from the heat and strain the pastry cream.