Reflection code snippets (22)

How to get assembly attributes

Published: 15. February 2012 | Updated: 15. February 2012
Categories: Attributes Reflection
Tags: Attributes C# Reflection

How to get constructor using reflection

Published: 1. December 2011 | Updated: 1. December 2011
Categories: Reflection
Tags: C# Reflection

How to get assembly location

Published: 30. November 2011 | Updated: 30. November 2011
Categories: Reflection
Tags: C# File System Reflection

How to get object private fields

Published: 30. November 2011 | Updated: 30. November 2011
Categories: Reflection
Tags: C# Reflection

How to convert value type to nullable type

Published: 23. November 2011 | Updated: 23. November 2011
Categories: Reflection
Tags: C# Reflection

How to dynamically get/set member value

Published: 16. November 2011 | Updated: 16. November 2011
Categories: Reflection
Tags: C# Reflection

How to find out whether class is from startup assembly

Published: 2. November 2011 | Updated: 2. November 2011
Categories: Reflection
Tags: C# Reflection

How to get property name

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Reflection
Tags: C# Reflection

How to get object properties using reflection

Published: 13. December 2008 | Updated: 27. October 2011
Categories: Reflection
Tags: C# Reflection

How to get current method name

Published: 27. October 2011 | Updated: 27. October 2011
Categories: Debug Reflection
Tags: C# Debug Reflection

How to enumerate properties of anonymous type

Published: 21. December 2008 | Updated: 26. October 2011
Categories: Reflection Types
Tags: C# Reflection

How to dynamically load assembly from GAC

Published: 22. December 2008 | Updated: 26. October 2011
Categories: Reflection
Tags: C# Reflection

How to get class name

Published: 14. October 2011 | Updated: 14. October 2011
Categories: Reflection
Tags: C# Debug Reflection

How to get name of application

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Reflection
Tags: C# Console Reflection Winforms WPF

How to get build number

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Reflection
Tags: C# Console Reflection Winforms WPF

How to get assembly version

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Reflection
Tags: C# Reflection

How to get object type

Published: 9. October 2011 | Updated: 9. October 2011
Categories: Reflection
Tags: C# Reflection

How to get member's custom attributes

Published: 18. December 2008 | Updated: 9. October 2011
Categories: Attributes Reflection
Tags: Attributes C# Reflection

How to get calling method

Published: 14. January 2009 | Updated: 14. January 2009
Categories: Debug Reflection
Tags: C# Debug Reflection

How to get object's methods using reflection

Published: 13. December 2008 | Updated: 13. December 2008
Categories: Reflection
Tags: C# Reflection

How to create instance of object using reflection

Published: 13. December 2008 | Updated: 13. December 2008
Categories: Reflection
Tags: C# Reflection

How to get current directory

Published: 13. December 2008 | Updated: 13. December 2008
Categories: Reflection
Tags: C# Reflection