5 C# Collections & Iterators
This chapter covers
- The definition of an Array in C#
- Declaring an Array and its various types
- Using Array methods and properties
- The definition of a Collection in C#
- Declaring a Collection and its various types
- Using Collection methods and properties
- The shared System.Linq namespace
- The definition of a Loop and an iterator in C#
- Declaring Loops and Iterators and their various types
- Development process of a Tic Tac Toe minigame
With this fifth chapter, we finally reached the end of the introductory portion of this tiny c# projects manuscript. Until now, we learned everything about C# as a utility, medium, and tool. From the technology stack behind to the individual components that make this language. We learned programming basics and built a project on each step throughout our journey.
With this final step, we will get comfortable with the last programming basics essential to any application and set up the most extensive and feature-richest project so far.
In this chapter, we will create an application famous for its seemingly simple appearance but surprisingly complicated code, the well-known Tic-Tac-Toe minigame.
This project entails the need to master much more than what we worked on until now. This time, apart from variables, conditionals, console methods, and operators, we also need to step towards arrays, collections, and iterators. Even a simple AI is needed not to obligate the user to include a second player.