c# This assignment requires that you write, compile and test a program named Inv
ID: 3697810 • Letter: C
Question
c#
This assignment requires that you write, compile and test a program named InventoryRecords.
This program will make use of a class named InventoryItem that contains the following fields and also contains a ToString method that outputs the three fields as a comma separated string.
• Item Number (string)
• Description (string)
• Asking Price (double)
The Main method of InventoryRecords will first call a method named WriteRecords, and then a method named ReadRecords. The WriteRecords method allows you to enter data for items you sell at an online auction site and saves the data to a CSV file named Inventory.txt. The method should continue to prompt the user for new items until the sentinel value (END) is entered.
The ReadRecords method will read the Inventory.txt file created by the WriteRecords method, and display each item’s data on the screen.
The program output will appear similar to that shown below.
Explanation / Answer
Inventory.cs
=========================================================
FindInventoryRecords.cs
====================================================
InventoryRecords.cs
==================================================
ReadInventoryRecords.cs
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.