Click here to Skip to main content
15,885,366 members
Articles / Programming Languages / C#

Indexed Dictionary

Rate me:
Please Sign up or sign in to vote.
3.79/5 (9 votes)
4 Jul 2009CPOL6 min read 85.6K   668   43  
An article on a generic collection accessible both as a dictionary and as an indexed list.
  • indexeddictionary3_src.zip
    • IndexedDictionary
      • _ReSharper.IndexedDictionary
        • CachesImage.bin
        • ProjectModel
          • ProjectModel.dat
        • TodoCache
          • .version
          • 8
            • 7c6b5622.dat
        • WebsiteFileReferences
          • .version
        • WordIndex.New
          • .version
          • 2
            • 17367f48.dat
      • IndexedDictionary.4.5.resharper.user
      • IndexedDictionary.sln
      • IndexedDictionary.vsmdi
      • IndexedDictionary
        • _ReSharper.IndexedDictionary
          • 7fe8c250-bc51-4d48-9320-ee2bc2d48386.Metadata
          • 7fe8c250-bc51-4d48-9320-ee2bc2d48386.XmlDocIndex
          • CachesImage.bin
          • ProjectModel
            • ProjectModel.dat
          • ReflectionCache.xml
          • TodoCache
            • .version
            • 0
              • 2240425d.dat
            • 8
          • WebsiteFileReferences
            • .version
          • WordIndex.New
            • .version
            • 2
            • 9
              • 28916f49.dat
          • Xaml
            • CacheProvider.dat
        • _UpgradeReport_Files
        • bin
          • Debug
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
        • IndexedDictionary.cs
        • IndexedDictionary.csproj
        • IndexedDictionary.suo
        • Properties
        • UpgradeLog.XML
      • IndexedDictionaryTest
      • LocalTestRun.testrunconfig
      • TestResults
        • Asher_ZIV-22 2009-06-30 08_38_01.trx
        • Asher_ZIV-22 2009-06-30 08_38_01
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_38_26.trx
        • Asher_ZIV-22 2009-06-30 08_38_26
          • In
            • ZIV-22
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_39_16.trx
        • Asher_ZIV-22 2009-06-30 08_39_16
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_39_31.trx
        • Asher_ZIV-22 2009-06-30 08_39_31
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_40_10.trx
        • Asher_ZIV-22 2009-06-30 08_40_10
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_45_19.trx
        • Asher_ZIV-22 2009-06-30 08_45_19
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_45_49.trx
        • Asher_ZIV-22 2009-06-30 08_45_49
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_48_18.trx
        • Asher_ZIV-22 2009-06-30 08_48_18
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_52_55.trx
        • Asher_ZIV-22 2009-06-30 08_52_55
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
        • Asher_ZIV-22 2009-06-30 08_53_13.trx
        • Asher_ZIV-22 2009-06-30 08_53_13
          • Out
            • IndexedDictionary.dll
            • IndexedDictionary.pdb
            • indexeddictionarytest.dll
            • IndexedDictionaryTest.pdb
  • IndexedDictionary2_src.zip
  • IndexedDictionary_src.zip
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <ProductVersion>8.0.50727</ProductVersion>
    <SchemaVersion>2.0</SchemaVersion>
    <ProjectGuid>{C06D0B61-56D4-4549-BB1C-4223C7BCD2B2}</ProjectGuid>
    <OutputType>Library</OutputType>
    <AppDesignerFolder>Properties</AppDesignerFolder>
    <RootNamespace>IndexedDictionary</RootNamespace>
    <AssemblyName>IndexedDictionary</AssemblyName>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <DebugSymbols>true</DebugSymbols>
    <DebugType>full</DebugType>
    <Optimize>false</Optimize>
    <OutputPath>bin\Debug\</OutputPath>
    <DefineConstants>DEBUG;TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <DebugType>pdbonly</DebugType>
    <Optimize>true</Optimize>
    <OutputPath>bin\Release\</OutputPath>
    <DefineConstants>TRACE</DefineConstants>
    <ErrorReport>prompt</ErrorReport>
    <WarningLevel>4</WarningLevel>
  </PropertyGroup>
  <ItemGroup>
    <Reference Include="System" />
    <Reference Include="System.Data" />
    <Reference Include="System.Xml" />
  </ItemGroup>
  <ItemGroup>
    <Compile Include="IndexedDictionary.cs" />
    <Compile Include="Properties\AssemblyInfo.cs" />
  </ItemGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. 
       Other similar extension points exist, see Microsoft.Common.targets.
  <Target Name="BeforeBuild">
  </Target>
  <Target Name="AfterBuild">
  </Target>
  -->
</Project>

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
Chief Technology Officer Ziv systems, Israel
Israel Israel
Starting with Apple IIe BASICA, and working my way through Pascal, Power Builder, Visual basic (and the light office VBA) C, C++, I am now a full stack developer and development manager. Mostly with MS technologies on the server side and javascript(typescript) frameworks on the client side.

Comments and Discussions