If you are looking at this book, you either want to learn C# programming or you have to use C# programming in your project.
By reading this book, you will learn how to use Linq in C#, and by being able to write source code using Linq, you will be able to write concise iterations of arrays and lists, and if you have been writing source code with For and While statements, you will be shocked as if your programming world If you have been writing source code with For and While statements, you will be shocked as if the programming world has changed.
I decided to write this reference book because I felt that although there are many reference books on C# programming, from introductory to advanced, there are few that provide detailed information on how to write useful source code such as Linq.
Even if the book is written in detail, it is difficult and some may quit reading it before they understand it because of the hurdles involved. As a mediocre engineer myself, I understand the frustration of reading programming reference books.
【Introduction】 【Chapter 1】Exercises with classes ■Question 1 ■Question 2 ■Question 3 ■Question 4 ■Question 5 ■ Before explaining the Linq source code 【Chapter 2】How to use multidimensional lists ■ Initialization method for multidimensional lists ■ How to reference elements in a multidimensional list 【Chapter 3】How to use Linq for multidimensional lists ■ Use double Select method ■ If you want to refer only to specified items ■ Let's try to predict the movement of the process. ■ Let's anticipate the process 2 ■ Chapter 3 Exercises 【Chapter 4】Various uses of the Select method ■ Make all int type elements String type. ■ Use the Split method within the Select method. ■ Use the Join method within the Select method. ■ Use the Aggregate method within the Select method. ■ Find the sum of all elements. ■ Assign a serial number in the Select method ■ Chapter 4 Exercises 【Chapter 5】How to write Linq methods without abbreviations ■ How to write without abbreviations (Select method section) ■ Non-abbreviated writing (Where method section) ■ Example of non-abbreviated writing style ■ Chapter 5 Exercises 【Chapter 6】Linq and File Manipulation ■ Reading Files ■ Classification of imported CSV data ■ Writing Files ■ Convert classes to CSV format and output to file ■ Read and compare two files ■ Obtains a list of files that exist in a directory ■ Obtains a list of directories that exist in a directory ■ Chapter 6 Exercises 【Chapter 7】Manipulation of Xml files ■ How to read Xml files ■ How to add elements ■ How to delete an element ■ How to replace an element ■ How to save xml files ■ Chapter 7 Exercises 【Chapter 8】Manipulation of Excel files ■ Installation of Closed XML ■ Reading Excel Data ■ Import Excel data ■ Formatting read data with Linq ■ Writing data to Excel ■ Excel Data Search 【Chapter 9】How to use Linq for Directory and DataTable types ■ Initialization method for dictionary type ■ How to add dictionary type elements