Hi!

Ok. So I've got this problem.
I have a reference to a WebService that provides a whole bunch of classes representing a table in a database.
Now, it's a simple thing to retrieve a list of all those classes and store them for future use.

What I would like to do is to iterate through that list, instantiating each class in turn and perform some work with them.
I've been looking at the Reflection.Activator class, but that only seem to work when you have an assembly file at hand that can be loaded at runtime. This is not the case here.

Is what I'm looking for even possible? And if so, how would I accomplish this?

I'm using Visual Studio 2010 and the project is in .NET 4.0.

Any ideas at all?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.