Click here to Skip to main content
15,886,362 members
Articles / Web Development / ASP.NET

List vs ObservableCollection vs INotifyPropertyChanged in Silverlight

,
Rate me:
Please Sign up or sign in to vote.
4.60/5 (90 votes)
21 Sep 2009CC (ASA 2.5)2 min read 367.2K   5.7K   110  
This article gives a basic understanding of List, ObservableCollection, and INotifyPropertyChanged.
  • sllistvsobservablecollection.zip
    • SLListVsObservableCollection
      • SLListVsObservableCollection.gpState
      • SLListVsObservableCollection.sln
      • SLListVsObservableCollection.suo
      • SLListVsObservableCollection.Web
      • SLListVsObservableCollection
        • App.xaml
        • App.xaml.cs
        • Bin
          • Debug
            • AppManifest.xaml
            • de
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • es
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • fr
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • it
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • ja
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • ko
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • Microsoft.Windows.Controls.DataVisualization.dll
            • SLListVsObservableCollection.dll
            • SLListVsObservableCollection.xap
            • System.ComponentModel.DataAnnotations.dll
            • System.ComponentModel.DataAnnotations.xml
            • System.Windows.Controls.Data.dll
            • System.Windows.Controls.Data.Input.dll
            • System.Windows.Controls.Data.Input.xml
            • System.Windows.Controls.Data.xml
            • System.Windows.Data.dll
            • System.Windows.Data.xml
            • TestPage.html
            • zh-Hans
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
            • zh-Hant
              • System.ComponentModel.DataAnnotations.resources.dll
              • System.Windows.Controls.Data.Input.resources.dll
              • System.Windows.Controls.Data.resources.dll
              • System.Windows.Data.resources.dll
        • Page.xaml
        • Page.xaml.cs
        • Properties
        • SLListVsObservableCollection.csproj
        • SLListVsObservableCollection.csproj.user

Microsoft Visual Studio Solution File, Format Version 10.00
# Visual Studio 2008
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLListVsObservableCollection", "SLListVsObservableCollection\SLListVsObservableCollection.csproj", "{D21F85C5-E17F-4AD1-94AA-F072F8A34E71}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SLListVsObservableCollection.Web", "SLListVsObservableCollection.Web\SLListVsObservableCollection.Web.csproj", "{04B5CDA5-A2C8-4621-AFDD-3DFF03D7912F}"
EndProject
Global
	GlobalSection(SolutionConfigurationPlatforms) = preSolution
		Debug|Any CPU = Debug|Any CPU
		Release|Any CPU = Release|Any CPU
	EndGlobalSection
	GlobalSection(ProjectConfigurationPlatforms) = postSolution
		{D21F85C5-E17F-4AD1-94AA-F072F8A34E71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{D21F85C5-E17F-4AD1-94AA-F072F8A34E71}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{D21F85C5-E17F-4AD1-94AA-F072F8A34E71}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{D21F85C5-E17F-4AD1-94AA-F072F8A34E71}.Release|Any CPU.Build.0 = Release|Any CPU
		{04B5CDA5-A2C8-4621-AFDD-3DFF03D7912F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
		{04B5CDA5-A2C8-4621-AFDD-3DFF03D7912F}.Debug|Any CPU.Build.0 = Debug|Any CPU
		{04B5CDA5-A2C8-4621-AFDD-3DFF03D7912F}.Release|Any CPU.ActiveCfg = Release|Any CPU
		{04B5CDA5-A2C8-4621-AFDD-3DFF03D7912F}.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 Creative Commons Attribution-ShareAlike 2.5 License


Written By
Technical Lead Infosys
India India
Working as a Technology Lead in Infosys at Chennai, India.

Written By
Software Developer iSOFT
India India
Working as a Software Engineer in iSOFT at Chennai, India.

Comments and Discussions