I'm coding in VB6 and I'm trying to create an Application object that in turn has two other objects. One is ActiveProject and the other is a collection called Projects. so this is my model:
I want it such that when a user creates a new project using the collection object, ActiveProject is created. I also want an item property in the Projects collection to share the same properties as ActiveProject (i.e ProjectName, ProjectID).
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.