If i have an instance like
var myInstance = new MyInstance();
and put it in a loop. How do i prevent it to make newer instances and point it to the same instance.
Approach i was following was :
if(!score){
score = new Score();
}
which seems inefficient