Standing on the shoulders of giants. RSS 2.0
# Monday, October 13, 2003

While browsing the inner workings of the XmlSerializer class with  Reflector (a must have tool) I noticed the Activator.CreateInstance( Type ) method. This method is much more readable, than the Type.GetConstructor(Type.EmptyTypes).Invoke(null) I used before.

Comments are closed.
Ads
About
© Copyright 2012
Paul van Brenk
Sign In
newtelligence dasBlog 2.3.2011.0
All Content © 2012, Paul van Brenk
DasBlog theme 'Business' created by Christoph De Baene (delarou)