When the Save button is pressed, the SaveDialog will be used to select a filename to be used for a binary file. Use a default extension of bin, and a filter for Binary files (*.bin) and All files (*.*). Save the contents of the array to the selected file, using a MessageBox to display any errors encountered.
When the Load button is pressed, the OpenDialog will be used to select a filename to be used to read a binary file. Use a default extension of bin, and a filter for Binary files (*.bin) and All files (*.*). Read the contents of the array from the selected file, using a MessageBox to display any errors encountered. Note that the array of doubles must be created to correct length to read all of the doubles from the file. Clear out the previous contents, then display the doubles read into the array to the multiline textbox using the format shown above. Display the sum of the values read in from the file.