Summary


This chapter has shown you the power of reflection. As you read through this chapter, you learned that in the .NET Framework, data types are also objects that can be treated just like any other object. Data types have methods and properties that can be accessed the same way you access normal object methods and properties. These members allow you to utilize reflection to find out information about methods, members, events, data types, and much more.

Using reflection isn't just a way to find out information about your own code. Having the ability to inspect data types at runtime is an extremely valuable tool. When you find a need for reflection in your own application, you will wonder how you ever managed to write code without it.



Microsoft Visual C# 2005 Unleashed
Microsoft Visual C# 2005 Unleashed
ISBN: 0672327767
EAN: 2147483647
Year: 2004
Pages: 298

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net