3 posts about CollectionBase by 3 contributors.
Know CollectionBase? Share what you know with developers who are learning it.
Learn how to create a custom collection class in C#, utilizing the Customer class with attributes. Implement and manage customer data with CollectionBase, including methods for adding, removing, and accessing customer instances. Explore auto-defined properties and List collections in C#.
This article will show you how you can create a class that can behave just like a collection class.
In this article I am trying to explain the use of CollectionBase class. In a simple example I used CollectionBase to bind a DataGrid control with data from Employees table of NorthWind database. So please be sure that your system exists with NorthWind database before using the sample code along with this article.
DevSocialUpcoming · 3rd editionAI Agents ConferenceNov 23–27, 2026Live onlineMembers only16days leftRegisterPublish an article in this category and earn +1,000 SHARP when it is approved.
Write an article