In a medium sauce pan whisk together sugar, cornstarch and salt. Whisk in milk and egg yolks until well combined. Place saucepan over medium heat, whisking constantly. When mixture comes to a boil, add butter, 1 tablespoon at a time and vanilla.
You can use a store-bought crust, boxed pudding and store-bought brownies if you prefer.