|
by Paulo Morgado via Paulo Morgado : C# on 8/3/2010 12:36:00 AM
No. I’m not proposing to get rid of objects.
A colleague of mine was asked if I knew a way to dump a list of objects of unknown type into a DataTable with better performance than the way he was using.
The objects being dumped usually have over a dozen of properties, but, for the sake of this post, let’s assume they look like this:
class SomeClass{ public int Property1 { get; set; } public long Property2 { get; set; } &nbs
... [ read more ]
|