Hi, I am relatively new to C#.NET and I was wondering if the garbage collection is similar to Java.
I am developing a windows form application and I am dynamically making new buttons, will they be deleted by themselves or will I manually need to delete them?
For example:
this is declared as global
Button[] Letters = new Button[26];
if I have a function call initLetters() that does this:
Letters = new Button();
if I call initLetters() again will it delete the previous array? overwrite the array?
Thanks for your time.