In c# what would happen if you did a class instantiation in a while true loop? Memory leaks?
C# is a "garbage collected" language, meaning when it finds itself in need of more space, it looks for objects that aren't being referenced anymore and therefore must not be needed. The objects would be cleaned up and the memory reclaimed for future use unless you were putting them all somewhere as well.