In a medium saucepan, heat milk, cream, and sugar over medium heat until steaming.
In a separate bowl, whisk egg yolks and cornstarch until smooth.
Gradually add the hot milk mixture to the yolks, whisking constantly.
Return the mixture to the saucepan and cook until thickened, stirring continuously.
Remove from heat, stir in butter and vanilla, and let cool completely.