Question: Write a C# code that contains the followings: The following method will create a 4x3 integer array with the random numbers between 10 and 80.
Write a C# code that contains the followings: The following method will create a 4x3 integer array with the random numbers between 10 and 80. . public static int I, 1 CreateMatrix) . The matrix will be displayed at Console window by the following method. public static void DisplayMatrix(int.) a) . The matrix will be written to the "ExamFile.txt" file starting from the last row to the first row. . public static void WriteToFile (Streamwriter sw, intl.1 a) Examples after running the program Console window C\Windows\sys. 152.11 36 37 76 61 BO 31 71 25 The content of ExamFile.txt ExamFile - Notepad Eile Edit Format View Help 56 68 25 80 31 71 37 76 61 52 11 36 56 68 Something written to the txt file 100% Windows (CRLF) UTF-8 Press any key to continue X - ON C:\Windows\syst... 13 63 61 50 74 17 48 28 53 59 16 ExamFile - Notepad File Edit Format View Help 53 59 16 17 48 28 44 50 74 13 63 61 > Something written to the txt file 100% Windows (CRLF) UTF-8 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
