In brief words, I am writing a code in C# that initializes a lot of arrays after hitting a button. If I hit the button. It should give me a specific value according to a password that I give to the program. If I hit the same button again, it should give me the same exact value if the password is the same (If you’re curious, it’s Encryption/Decryption program).
The problem is that it doesn’t give the same value unless I close the form and reopen it. Which makes me think of an array that is not destroyed and giving values from last run. How can I destroy everything (exactly like if I close the form) but without closing the interface? Thanks in advance!!
As you don’t provide any code, answering is a bit of quessing:
myArray = null;