✅ Bug in trying to replicate an unmodified array in a Winforms Sorting Algorithm Application
I have a weird bug in my C# Winform program. Here are the steps before I encountered this error:
1) I put in 100, 10, 1000 in my Number of Values, Min Value and Max value, respectively
2) I pressed generate values in the "Generated Values" tab
3) I press bubble sort in my code and it sorts the array
4) I press clear raw to clear the data in my generated values tab
5) I press redisplay array to show the unmodified array.
But the problem I am encountering is that the array is showing the array that was modified, not the unmodified one. Can someone help me?
1) I put in 100, 10, 1000 in my Number of Values, Min Value and Max value, respectively
2) I pressed generate values in the "Generated Values" tab
3) I press bubble sort in my code and it sorts the array
4) I press clear raw to clear the data in my generated values tab
5) I press redisplay array to show the unmodified array.
But the problem I am encountering is that the array is showing the array that was modified, not the unmodified one. Can someone help me?
Program.cs548B
