<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>C# 411 &#187; Reflection</title>
	<atom:link href="http://www.csharp411.com/category/reflection/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csharp411.com</link>
	<description>C# Information, Code, Tips and News</description>
	<lastBuildDate>Mon, 19 Jul 2010 14:56:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Construct C# Objects at Runtime</title>
		<link>http://www.csharp411.com/construct-csharp-objects-at-runtime/</link>
		<comments>http://www.csharp411.com/construct-csharp-objects-at-runtime/#comments</comments>
		<pubDate>Mon, 21 Jan 2008 18:22:25 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[C#-Objects]]></category>
		<category><![CDATA[Runtime]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/construct-csharp-objects-at-runtime/</guid>
		<description><![CDATA[Creating C# objects at run-time is easy.  Just call the Activator.CreateInstance method.
For example, to create the same type of object as the current object using its default constructor:

Activator.CreateInstance( this.GetType() );


To better illustrate how this is done, below is a complete console program you can run.  In this simple example, there is a Shape [...]


Related posts:<ol><li><a href='http://www.csharp411.com/all-objects-are-not-created-equal/' rel='bookmark' title='Permanent Link: All Objects Are Not Created Equal'>All Objects Are Not Created Equal</a></li><li><a href='http://www.csharp411.com/c-overloaded-methods-with-inherited-arguments/' rel='bookmark' title='Permanent Link: C# Overloaded Methods with Inherited Arguments'>C# Overloaded Methods with Inherited Arguments</a></li><li><a href='http://www.csharp411.com/c-object-initialization/' rel='bookmark' title='Permanent Link: C# Object Initialization'>C# Object Initialization</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/construct-csharp-objects-at-runtime/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# Get Calling Method</title>
		<link>http://www.csharp411.com/c-get-calling-method/</link>
		<comments>http://www.csharp411.com/c-get-calling-method/#comments</comments>
		<pubDate>Tue, 08 Jan 2008 23:34:43 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Calling Method]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/c-get-calling-method/</guid>
		<description><![CDATA[Reflection is a handy mechanism in .NET that enables you to obtain class information, get and set properties, and invoke methods entirely at run-time.  Reflection can also provide information about the object and method that called a particular method.  This can be useful for debug and trace purposes.

The following CallingMethod class wraps up [...]


Related posts:<ol><li><a href='http://www.csharp411.com/convert-between-generic-ienumerablet/' rel='bookmark' title='Permanent Link: Convert Between Generic IEnumerable&#60;T&#62;'>Convert Between Generic IEnumerable&#60;T&#62;</a></li><li><a href='http://www.csharp411.com/convert-generic-icollectiont/' rel='bookmark' title='Permanent Link: Convert Generic ICollection&#60;T&#62;'>Convert Generic ICollection&#60;T&#62;</a></li><li><a href='http://www.csharp411.com/generic-class-duplicate-method-overloads/' rel='bookmark' title='Permanent Link: Generic Class: Duplicate Method Overloads'>Generic Class: Duplicate Method Overloads</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/c-get-calling-method/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Determine the .NET Versions on which an Application is Compiled and Running</title>
		<link>http://www.csharp411.com/determine-the-net-versions-on-which-an-application-is-compiled-and-running/</link>
		<comments>http://www.csharp411.com/determine-the-net-versions-on-which-an-application-is-compiled-and-running/#comments</comments>
		<pubDate>Thu, 12 Jul 2007 01:52:58 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[.NET-Version]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/determine-the-net-versions-on-which-an-application-is-compiled-and-running/</guid>
		<description><![CDATA[The version of .NET against which you compile an application or assembly may not be the same version of .NET on which the application is currently running.  A .NET application should always be able to run on the same or newer version of .NET against which it was compiled.
This is because .NET is backward [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/' rel='bookmark' title='Permanent Link: Determine the Version of a Loaded .NET Assembly'>Determine the Version of a Loaded .NET Assembly</a></li><li><a href='http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/' rel='bookmark' title='Permanent Link: Determine if a Loaded .NET Assembly is Signed'>Determine if a Loaded .NET Assembly is Signed</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-2-attributes/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 2 &#8211; Attributes'>.NET Assembly FAQ &#8211; Part 2 &#8211; Attributes</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/determine-the-net-versions-on-which-an-application-is-compiled-and-running/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/</link>
		<comments>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/#comments</comments>
		<pubDate>Thu, 28 Jun 2007 16:36:08 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[GAC]]></category>
		<category><![CDATA[Global-Assembly-Cache]]></category>
		<category><![CDATA[Signed-Assembly]]></category>
		<category><![CDATA[Strong-Name]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-4-global-assembly-cache/</guid>
		<description><![CDATA[This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications.  This Part 4 covers shared assemblies and the Global Assembly Cache.

Where are shared assemblies stored?
A shared assembly is used by multiple applications.  You can store shared assemblies pretty much anywhere.  However, the challenge is to ensure that [...]


Related posts:<ol><li><a href='http://www.csharp411.com/net-assembly-faq-part-1/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 1'>.NET Assembly FAQ &#8211; Part 1</a></li><li><a href='http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/' rel='bookmark' title='Permanent Link: Adding Assemblies to the Visual Studio &#34;Add Reference&#34; Dialog'>Adding Assemblies to the Visual Studio &#34;Add Reference&#34; Dialog</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing'>.NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Determine if a Loaded .NET Assembly is Signed</title>
		<link>http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/</link>
		<comments>http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 14:51:02 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[Signed-Assembly]]></category>
		<category><![CDATA[Signing-Assembly]]></category>
		<category><![CDATA[Strong-Name]]></category>
		<category><![CDATA[Strong-Name-Key]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/determine-if-a-loaded-net-assembly-is-signed/</guid>
		<description><![CDATA[A .NET assembly is "signed" if the developer compiled the assembly with the private key of a digital signature.  When the system later loads the assembly, it verifies the assembly with the corresponding public key.  Occasionally you may need to determine whether an assembly you have loaded has been signed.

If the .NET application [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/' rel='bookmark' title='Permanent Link: Determine the Version of a Loaded .NET Assembly'>Determine the Version of a Loaded .NET Assembly</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache'>.NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-2-attributes/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 2 &#8211; Attributes'>.NET Assembly FAQ &#8211; Part 2 &#8211; Attributes</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>.NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/</link>
		<comments>http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 15:16:32 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[Delay-Signing]]></category>
		<category><![CDATA[Public-Private-Key]]></category>
		<category><![CDATA[Signing-Assembly]]></category>
		<category><![CDATA[Strong-Name]]></category>
		<category><![CDATA[Strong-Name-Key]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-3-strong-names-and-signing/</guid>
		<description><![CDATA[This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications.  This Part 3 discusses assembly security using strong names, signing and public-private key pairs.

What is a strong name?
A strong name is a .NET assembly name combined with its version number and other information to uniquely identify the assembly.  [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/' rel='bookmark' title='Permanent Link: Determine if a Loaded .NET Assembly is Signed'>Determine if a Loaded .NET Assembly is Signed</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache'>.NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-1/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 1'>.NET Assembly FAQ &#8211; Part 1</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>.NET Assembly FAQ &#8211; Part 2 &#8211; Attributes</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-2-attributes/</link>
		<comments>http://www.csharp411.com/net-assembly-faq-part-2-attributes/#comments</comments>
		<pubDate>Tue, 12 Jun 2007 15:16:53 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[Assembly-Attributes]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-2-attributes/</guid>
		<description><![CDATA[This multi-part article answers common questions about assemblies, the basic building blocks of .NET applications.  This Part 2 discusses assembly attributes.

What are assembly attributes?
Assembly attributes are values (typically set by the developer) that provide additional information about a .NET assembly.  Assembly attributes are grouped as follows:

Identity Attributes &#8211; Determine the identity of an [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/' rel='bookmark' title='Permanent Link: Determine the Version of a Loaded .NET Assembly'>Determine the Version of a Loaded .NET Assembly</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-1/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 1'>.NET Assembly FAQ &#8211; Part 1</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing'>.NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-assembly-faq-part-2-attributes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>.NET Assembly FAQ &#8211; Part 1</title>
		<link>http://www.csharp411.com/net-assembly-faq-part-1/</link>
		<comments>http://www.csharp411.com/net-assembly-faq-part-1/#comments</comments>
		<pubDate>Thu, 31 May 2007 14:14:33 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[.NET-assembly]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/net-assembly-faq-part-1/</guid>
		<description><![CDATA[Frequently asked questions, some assembly required.
This multi-part article answers common questions about assemblies&#8211;the basic building blocks of .NET applications.  Some developers may never need to understand assemblies.  But if you create shared components, use DLLs or deliver a suite of applications, then it's essential to understand what .NET assemblies are and how they [...]


Related posts:<ol><li><a href='http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache'>.NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-3-strong-names-and-signing/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing'>.NET Assembly FAQ &#8211; Part 3 &#8211; Strong Names and Signing</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-2-attributes/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 2 &#8211; Attributes'>.NET Assembly FAQ &#8211; Part 2 &#8211; Attributes</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/net-assembly-faq-part-1/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Adding Assemblies to the Visual Studio &quot;Add Reference&quot; Dialog</title>
		<link>http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/</link>
		<comments>http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/#comments</comments>
		<pubDate>Wed, 30 May 2007 23:28:09 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Visual Studio]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[GAC]]></category>
		<category><![CDATA[Global-Assembly-Cache]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/adding-assemblies-to-the-visual-studio-add-reference-dialog/</guid>
		<description><![CDATA[When you attempt to add an assembly reference to a Visual Studio project, the Add Reference dialog appears with a list of registered global assemblies in the .NET tab:

Add Your Assembly to Visual Studio
Unfortunately, adding your assembly to the Global Assembly Cache (GAC) does NOT make it automatically appear in the Visual Studio list of [...]


Related posts:<ol><li><a href='http://www.csharp411.com/net-assembly-faq-part-4-global-assembly-cache/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache'>.NET Assembly FAQ &#8211; Part 4 &#8211; Global Assembly Cache</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-1/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 1'>.NET Assembly FAQ &#8211; Part 1</a></li><li><a href='http://www.csharp411.com/hide-visual-studio-macro-balloon/' rel='bookmark' title='Permanent Link: Hide Visual Studio Macro Balloon'>Hide Visual Studio Macro Balloon</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/adding-assemblies-to-the-visual-studio-add-reference-dialog/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Determine the Version of a Loaded .NET Assembly</title>
		<link>http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/</link>
		<comments>http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/#comments</comments>
		<pubDate>Tue, 29 May 2007 23:11:01 +0000</pubDate>
		<dc:creator>timm</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Reflection]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[.NET-assembly]]></category>
		<category><![CDATA[Windows Forms]]></category>

		<guid isPermaLink="false">http://www.mini-tools.com/at2/csharp/wordpress/determine-the-version-of-a-loaded-net-assembly/</guid>
		<description><![CDATA[Sometimes you need to know which version of an assembly was loaded by your .NET application.  The following code snippet makes it easy:

using System.Reflection;
using System.Windows.Forms;
static public void ShowAssemblyVersion( Type type )
{
     Assembly asm = Assembly.GetAssembly( type );
     if (asm != null)
{
      [...]


Related posts:<ol><li><a href='http://www.csharp411.com/determine-if-a-loaded-net-assembly-is-signed/' rel='bookmark' title='Permanent Link: Determine if a Loaded .NET Assembly is Signed'>Determine if a Loaded .NET Assembly is Signed</a></li><li><a href='http://www.csharp411.com/net-assembly-faq-part-2-attributes/' rel='bookmark' title='Permanent Link: .NET Assembly FAQ &#8211; Part 2 &#8211; Attributes'>.NET Assembly FAQ &#8211; Part 2 &#8211; Attributes</a></li><li><a href='http://www.csharp411.com/determine-the-net-versions-on-which-an-application-is-compiled-and-running/' rel='bookmark' title='Permanent Link: Determine the .NET Versions on which an Application is Compiled and Running'>Determine the .NET Versions on which an Application is Compiled and Running</a></li></ol>]]></description>
		<wfw:commentRss>http://www.csharp411.com/determine-the-version-of-a-loaded-net-assembly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
