In a medium saucepan, combine sugar, cornstarch, and salt. Stir in milk and egg yolks until blended. Cook over medium heat until thick and bubbly. Reduce heat to low and cook for 2 minutes longer, stirring constantly.
Remove from heat and stir in butter and vanilla. Pour into crust and sprinkle with coconut.
Bake in preheated oven for 35 to 40 minutes, or until golden brown.
Cool before serving.
Interesting Facts
Coconut Custard Pie II is a great way to use up leftover egg yolks.