6 hours
Bake macaroni and cheese at 350°, uncovered in the center of the oven for about 45 to 50 minutes, or until macaroni and cheese is set.
About 2 days, max,
3hr
Macaroni salad with egg should be good for three to four days.
Because of the cheese and sugar in this food bacteria will form after about a week, maybe less. You can refreeze cheese cake. It will last longer that way.
Week in the fridge but a lot longer in the freezer
6 weeks
Don't leave it more than 3 days in the fridge.
Vegetable lasagna with cheese can keep for several months in the freezer. Once moved to the fridge, it usually goes bad within about 2 weeks.
Wrapped in 'butcher paper' in fridge, at least a month.
1-2 years
if unprepared dry package: refer to expiration date if prepared there is the concern of salmonella from dairy products. It should be frozen or if refrigerated, kept for no more than 48 hours.