Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Sorry can you explain how this works,please?
I think, there is a method defined in the test class. Otherwise, var myInstance = CreateInstance(myType);
will not compile at all. Something like that:
public static dynamic CreateInstance(Type myType)
{
return Activator.CreateInstance(myType);
}
That is the slickest solution, yet. No need for multiple loops or external (Linq) libraries. Very nice!
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution