Texts: Must be done in Visual Studio 2022 utilizing C#/C++. See picture for instructions
Array Mashop - READ CAREFULLY
Any size.
1. Design a void function called FillArray that will prompt the user for a value for each location of the array, then pass each array to this function to fill it with values. Remember, arrays are reference types.
2. Then, design a function called CombineArray that inputs two arrays and returns a new array made by combining the two arrays. For example, if the following two arrays were passed to the function:
Array1: [5]
Array2: [26]
It would return the below array:
[2, 5, 2, 8, 6]
3. Next, create a void function called PrintArray that accepts an array and displays each element of the array to the console. The PrintArray function should print the elements and end with a "]" (see the sample execution for an example).
4. Finally, store the array returned by CombineArray to a new variable and use the PrintArray function to print the combined array.
Be certain to validate all necessary inputs. Be certain to make use of relevant PromptFunctions. Be certain to comment your program as you code it. An example execution is on the next page. Make certain your output looks exactly like this (colors and fonts excluded).