Click here to Skip to main content
15,897,187 members
Articles / Programming Languages / C#

Refactoring Copy/Paste Pattern with Data-Structures

Rate me:
Please Sign up or sign in to vote.
4.50/5 (6 votes)
20 Jan 2011CPOL4 min read 25.1K   112   13  
Using data-structures to do away with boiler plate code.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
# SharpDevelop 3.2.1.6466
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimpleDB", "SimpleDB\SimpleDB.csproj", "{976C6EB6-CB45-460D-9E33-ACF41316713C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SomeBizLayer", "SomeBizLayer\SomeBizLayer.csproj", "{ECAFF627-AE5A-4652-BD5C-E4603620C5AE}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|x86 = Debug|x86
		Release|x86 = Release|x86
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{976C6EB6-CB45-460D-9E33-ACF41316713C}.Debug|x86.Build.0 = Debug|Any CPU
		{976C6EB6-CB45-460D-9E33-ACF41316713C}.Debug|x86.ActiveCfg = Debug|Any CPU
		{976C6EB6-CB45-460D-9E33-ACF41316713C}.Release|x86.Build.0 = Release|Any CPU
		{976C6EB6-CB45-460D-9E33-ACF41316713C}.Release|x86.ActiveCfg = Release|Any CPU
		{ECAFF627-AE5A-4652-BD5C-E4603620C5AE}.Debug|x86.Build.0 = Debug|Any CPU
		{ECAFF627-AE5A-4652-BD5C-E4603620C5AE}.Debug|x86.ActiveCfg = Debug|Any CPU
		{ECAFF627-AE5A-4652-BD5C-E4603620C5AE}.Release|x86.Build.0 = Release|Any CPU
		{ECAFF627-AE5A-4652-BD5C-E4603620C5AE}.Release|x86.ActiveCfg = Release|Any CPU
	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 (Senior)
Portugal Portugal
Software Dev Gun For Hire.

Comments and Discussions