Click here to Skip to main content
15,891,136 members
Articles / Programming Languages / C#

Immutable Generic Collection Extensions

Rate me:
Please Sign up or sign in to vote.
3.33/5 (5 votes)
18 Dec 2007CPOL3 min read 39.7K   114   17  
Create immutable / read-only collections from existing ICollection, IList, or IDictionary instances.

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ImmutableGenerics", "ImmutableGenerics\ImmutableGenerics.csproj", "{92608FF7-BE29-4013-B40F-5DF19A5E9155}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{92608FF7-BE29-4013-B40F-5DF19A5E9155}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{92608FF7-BE29-4013-B40F-5DF19A5E9155}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{92608FF7-BE29-4013-B40F-5DF19A5E9155}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{92608FF7-BE29-4013-B40F-5DF19A5E9155}.Release|Any CPU.Build.0 = Release|Any CPU
	EndGlobalSection
	GlobalSection(SolutionProperties) = preSolution
		HideSolutionNode = FALSE
	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) WickedByte Software
United States United States
Marshall's torrid relationship with programming started as a child using BASIC on a Commodore PET computer in the 70's. He continued programming through high school, but did not study Computer Science in college. At the time, compilers would fail without telling you why, so after much soul searching, he realized he didn't want to make a living by spending eight hours a day looking for a missing semi-colon.

By the time he was pursuing his Ph.D. in Communication and Marketing, Microsoft had released Visual Studio. The improvements in the IDE were enough to cause Marshall to have late night affairs with COM and ASP. Marshall spent the dotcom bubble years as a web developer. After the bubble burst, he worked independently as a Java developer for medical applications. When Microsoft released an early beta of the .NET Framework, he was convinced to switch his focus from the Java Platform to the new Framework. He spent some time at Philips Medical Systems writing the data-access layer for the Carevue Chart hospital system. He is currently Technical Director for ASE Technologies.

Marshall lives in Salem, Massachusetts but would rather be in Hawaii.

Comments and Discussions