Problem
A food bank needs storage instructions for donated food. Make two classes. The Perishable class has two fields: name and temperature. The NonPerishable class also has two fields: name and expiration. The names, temperatures, and expiration dates are strings, integers, and DateTime, respectively. Add appropriate properties, constructor(s), and ToString() method. The ToString() method should include instructions for storage.
Next in the program class, make a generic method DisplayInstruction() that can accept an object of any class and display its storage information.
Finally, in the Main() method, make two objects: one of the Perishable type, and one of the NonPerishable type. Then call the DisplayInstruction() method by passing the two objects to it one at a time.