Master Collection Classes in C# Using Visual Studio
- 16 hours on-demand video
- 3 articles
- 47 downloadable resources
- 2 coding exercises
- Full lifetime access
- Access on mobile and TV
- Certificate of Completion
Get your team access to 4,000+ top Udemy courses anytime, anywhere.Try Udemy for Business
- Students will learn collection classes: non-generic, generic, concurrent and specialized collections in C#.
- They will be learning the concept of threading, multi-threaded applications and asynchronous programming.
- Students will also get hands-on exposure on coding and testing in collection classes.
- Students will be able to get information on the types used in a generic data type at run-time by reflection.
- They will grasp the concepts of collection classes and their application in real life scenarios through C# code.
- They will learn object oriented concepts of interface and abstract class .
- As a bonus, students will build a windows form application where they will apply the collection class concepts
- Students will learn to build a CRUD app using Microsoft SQL server and C# that relates to generic collection classes
- Students will learn the application of generic constraints.
- Some basic knowledge of C# or any other object oriented programming will be advantageous. Some prior exposure to Visual Studio IDE will make this course a breeze.
This course has very recently been updated to contain two brand new sections on HashSet<T> and SortedSet<T> with a total of five additional lectures introducing the section topics and offering extensive practical code base coverage over these sections.
This course covers the Non-Generic, Generic, Concurrent and Specialized Collection classes in C#. The course includes important concept building topics in Reflection, Multi-threaded applications (with thread safety), Asynchronous Programming and Object-Oriented concepts of Interfaces and Abstract Class that the students need to grasp in order to get the full benefits from the course. Several coding exercises, an assignment, and a mini-project are aimed to keep the students engaged with the contents. These exercises are also means of self-assessing the progress with the course. A number of bonus articles and lectures have been added to enhance the learning process in related technologies.
- Advanced beginners in programming , computer science/engineering students to practicing professionals (who would like to brush up their skills), existing developers migrating to C# from other languages.
- However absolute beginners are also welcome if they are willing to catch up with basic programming concepts such as use of variables, decision statements and iteration loops.
This is an overview of the full course. This lecture will introduce the students to the instructor. The contents of this lecture provide the highlights of the course including the mention of the code exercises, mini-project and essential concepts that are also covered as a part of the foundation required for learning the concepts of the collection in C#. After going through the course, the will have a full appreciation of contents including downloadable codes and other files, external links as resources.
This is a text lecture aiming to serve as a note for the students so that they are aware of the usage of these concepts in code. This will enlighten them to the newer features of the C# language being available for use which are the current best practices in C# language.
This is the introductory lecture on the Collections as a whole. The lecture discusses the objectives behind the use of the collection classes in C#. The students will be able to have an overview of the various collection types in C#.
A tutorial on the abstract class concept in C# programming language. For beginning level learners in C# having little or no knowledge of object-oriented concepts, it is important to understand the abstract class concept to grasp the fundamentals on collection classes, since some of these use abstract classes.
After completing this tutorial, they will be able to do the following:
1 Create a simple abstract class in C# code using Visual Studio 2017
2 Create classes that implement the abstract class in C# code
This lecture introduces the concept of reflection to access meta data class information at runtime. This is a foundation topic to build concept for the latter part of this section using reflection and generic collection class List<T> for building an app whose methods are reusable.
This is the second of series of lectures on reflection and introduces the GetType() method and typeof keyword for a class. It also introduces the Type (abstract) class and shows the use of PropertInfo(), MethodInfo() and ConstructorInfo() methods to the students.
This is a tutorial video on early binding vs late binding in C# using reflection. On completion of this lecture the students will know about a major practical application of reflection which is the use of late binding through reflection to access the types and objects that are not available at compile time to the application.
This lecture shows the use and comparison of an Array with an ArrayList class. The lecture uses a user defined employee class to fill both of them. Students will learn how ArrayList can grow in size dynamically and that they require unboxing to retrieve the value, whereas Arrays are of fixed size at design time and they don't require unboxing.
This lecture shows how to use some commonly used method as AddRange() to add the elements of a collection to the end of the ArrayList
Show how to use GetRange() method to return an ArrayList which represents a subset of the elements in the source ArrayList.
Students will be able to use these methods in C# code in a real-life scenario.
This lecture is an introduction to the non-generic hashtable class that is included in the System.Collections namespace. It highlights the key-value pair and other features of the hashtable class. The lecture emphasizes the need to frequently refer to the MS-Documentation link provided in the resources. This documentation is full of the knowledge base about a collection class, all properties, methods, constructors, etc with working sample code.
Students will learn the process of adding event handlers to the button controls and write code in the event handler. They will be able to change the properties of the controls programmatically at run time. The students will learn how to handle exceptions and validate a control.
The students will learn to code the button event handlers for rest of the buttons to test AddRange(), RemoveAt() and Insert() methods through the Windows Form user interface(UI). This will complete the bonus WinForm application through which the students will learn how to build a Windows Form application and receive user inputs to create an ArrayList collection and test the different methods of that collection.
This lecture deals with Generics that were introduced C# version 2 and advises that the most common use of the Generic concept is in Generic collection classes. The lecture stresses the use of type parameters which gets rid of boxing and unboxing processes used in non-generic classes like ArrayList, Hashtable.
The lecture introduces and describes in detail about the constraints in generics.
This is an introductory lecture on List<T> class which is generic collection class. List<T> is a generic equivalent of non-generic ArrayList class. Students will understand the uses and advantages of using strongly typed List<T> generic class which is better performance wise as compared to ArrayList class. In the forthcoming lectures in the section they will see for themselves that using List<T> ends up in code re-usability.
The students will learn the List<T> class for creating and managing collections in C#
The students will be able to create text file processor class to create, write to and load text files from the file system at a given path.
They will appreciate how the non-generic way of doing the above steps end up in repetitive coding which is avoidable.
This is the concluding lecture of the bonus lectures in this Section. It builds upon the previous lecture of building a Text File Processor app and introduces generics (with reflection) to prove the point that it's a better approach and follows the DRY principles of Software Engineering.
This is the second and concluding part of the List<T> CRUD application Using MS-SQL Server. In this lecture the students will learn how to create the connection string in Visual Studio (ASP.NET Core console application), write methods to connect to the SQL database and insert, select and delete database records from Person table using stored procedures.
This is the introductory lecture on this section with slide show being presented and explained to learn the features and methods of HashSet<T> class. The students will form a foundational understanding to take the next step in the usage of these methods in code.
This lecture shows and explains the coding for some commonly used HashSet<T> methods: UnionWith, ExceptWith, SymmetricExceptWith, and IntersectWith which are used for mathematical set operations. The Count property and Add method usage were also demonstrated. The students will be able to use these methods in practical code in Visual Studio.
This lecture shows and explains the coding for some other HashSet<T> methods: Contains, Remove, RemoveWhere, and the Count property. Add method usage was also demonstrated. The students will be able to use these methods in practical code in Visual Studio.
This is the introductory lecture on this section with slide show being presented and explained to learn the features and methods of SortedSet<T> class. The students will form a foundational understanding to take the next step in the usage of these methods in code with Visual Studio.