Figure 12 shows a line of C# code that creates an array of fruit names.
Figure 12
string[] fruits = {"banana", "apple", "orange", "pear", "grape", "pineapple"};
Extend the program in Figure 12. Your answer must be written in C#.
The program should get the user to enter a word and perform a linear search on the array fruits to find if the word is in the array or not.
The program should:
• ask the user what word they would like to find
• output the message True if the word is found
• output the message False if the word is not found.
You must write your own linear search routine and not use any built-in search function available in C#.
You should use meaningful variable name(s) and C# syntax in your answer.
The answer grid below contains vertical lines to help you indent your code.