Home / Expert Answers / Computer Science / in-c-write-a-console-app-that-initializes-a-list-and-assigns-each-line-in-horticulture-terms-txt-pa850

(Solved): In C#, Write a console app that initializes a List and assigns each line in horticulture_terms.txt. ...



In C#, Write a console app that initializes a List and assigns each line in horticulture_terms.txt. Once the list is created prompt the user for input to search (You must use the binary search algorithm) for an item on the list. If the term is in the list, return the index at which it is. For example: User input : Urban Farming Innovations Program output Urban Farming Innovations was in the list, and is saved at the element or Urban Farming Innovations not found in the list The naming format for this assignment and ALL ASSIGNMENTS will be just like this Define Main Structure: Use List Use StreamReader to load the contents of the text file Prompt user for input (search string) Use binary search to find the string in the list. DO NOT USE List.IndexOf() Display the appropriate output Submit the following: Source Code: The .cs file containing your application code. Evaluation Criteria Functionality: The application runs without errors. Test your application thoroughly to catch and fix any bugs. Code Quality: The code should be well-organized, properly formatted, and include comments where necessary for clarity.



We have an Answer from Expert

View Expert Answer

Expert Answer


We have an Answer from Expert

Buy This Answer $5

Place Order

We Provide Services Across The Globe