Click here to Skip to main content
15,895,011 members
Articles / Programming Languages / MSIL

Fast Dynamic Property Access with C#

Rate me:
Please Sign up or sign in to vote.
4.89/5 (49 votes)
22 Mar 2005CPOL2 min read 312.2K   2.3K   153  
Reflecting on Properties is nice, but often it can be too slow. This article describes an alternative method for dynamic property access.
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "FastDynamicPropertyAccessor", "FastDynamicPropertyAccessor\FastDynamicPropertyAccessor.csproj", "{BFFE2BA3-857A-4E55-A662-17C37B7E7FC2}"
	ProjectSection(ProjectDependencies) = postProject
	EndProjectSection
EndProject
Global
	GlobalSection(SolutionConfiguration) = preSolution
		Debug = Debug
		Release = Release
	EndGlobalSection
	GlobalSection(ProjectConfiguration) = postSolution
		{BFFE2BA3-857A-4E55-A662-17C37B7E7FC2}.Debug.ActiveCfg = Debug|.NET
		{BFFE2BA3-857A-4E55-A662-17C37B7E7FC2}.Debug.Build.0 = Debug|.NET
		{BFFE2BA3-857A-4E55-A662-17C37B7E7FC2}.Release.ActiveCfg = Release|.NET
		{BFFE2BA3-857A-4E55-A662-17C37B7E7FC2}.Release.Build.0 = Release|.NET
	EndGlobalSection
	GlobalSection(ExtensibilityGlobals) = postSolution
	EndGlobalSection
	GlobalSection(ExtensibilityAddIns) = postSolution
	EndGlobalSection
EndGlobal

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer Astral Softworks, LLC
United States United States
James Nies is a graduate of the University of Wyoming's Department of Computer Science. He is currently employed as a software developer and has been programming in C#, his favorite language, for the last 5 years. James recently formed a small software development and web design company, Astral Softworks, LLC.



Comments and Discussions