Published 4/2023
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz
Language: English | Size: 6.84 GB | Duration: 11h 3m
Value and Reference Types, Generics, Reflection, Delegates and Events, Lambda and LINQ
What you’ll learn
The different purposes of out, ref and in keyword.
The similarities and distinctions between classes, structures and tuples.
When and why to use dynamic keyword.
What the dangers of not knowing the difference between value and reference types are.
How to compare objects with Equals and GetHashCode methods and when to use IComparable and IComparer.
Reverse engineer classes with the reflection technique.
What the delegates and events are and when and why you should use them.
Exotic examples with delegates and events and how they blend with some of the ideas of OOP (encapsulation and polymorphism).
Five different ways of writing/reading files.
What lambda expressions and LINQ are. Solve practical tasks with them.
Requirements
Students should have knowledge about the basics of Object-oriented programming.
Finishing my course “C# Intermediate – Part I (Mastering OOP)” will be of great help.
Description
This course will start with the explanation of intricacies between out, ref and in keyword. Then the students will learn about new data types (tuples and structures) – when and why they shall be used. After grasping all of the preceding knowledge there shall be no mistakes when students use value or reference types. The late-bounding (enabled by various techniques of polymorphism – inheritance, object, dynamic, generics and reflection) opens new doors that will be explored in this course in theory and practice.The topics about delegates and events are very interesting and usually difficult for new developers. The concept of holding as a reference a method is something common to functional programming but C# allows you to get the advantages of that feature too. The students that will finish this course won’t have problems in understanding when and how to use delegates. The Event-driven Design (EDD) is based on the work with events and delegates (wired to them). Coupling EED with the knowledge and characteristics of OOP will help students build web, mobile and graphical applications in the near future/courses easily.The last two important concepts that will be taught in this course are lambda expressions and LINQ. Understanding how they work will improve not only the development speed of different tasks/algorithms but will give the students opportunity to grasp the clever use of delegates, generics and the so called ‘Fluent API’ – a technique that will be used later (when we separate and specify our components/libraries of the n-tier application and/or use ORM such as EF Core).Before we start making multi-tier applications a strong foundation of knowledge, skills and experience with solving simple tasks are necessary. This course is the third stepping stone towards achieving that goal.I hope that my students will be benevolent toward each other in the Q&A section of the courses and be successful in their future career as a software developer (and engineer).
Overview
Section 1: Parameters, Tuples and Structures
Lecture 1 Excerpts
Lecture 2 Summary
Lecture 3 Out, ref and in parameters
Lecture 4 Tuples
Lecture 5 Enums and Structures
Lecture 6 Exercises I
Lecture 7 Solutions to Ex. I – Part I
Lecture 8 Solutions to Ex. I – Part II
Section 2: Dynamic, Reflection, Generics, Comparing objects
Lecture 9 Object vs Dynamic Type
Lecture 10 Value Types and Reference Types – Part I
Lecture 11 Value Types and Reference Types – Part II
Lecture 12 Equals
Lecture 13 IComparable and IComparer
Lecture 14 Generics – Part I
Lecture 15 Generics – Part II
Lecture 16 Reflection
Lecture 17 Exercises II
Lecture 18 Solutions to Ex. II
Section 3: Delegates, Events, Files, Lambda Expressions, LINQ
Lecture 19 Delegates – Part I
Lecture 20 Delegates – Part II
Lecture 21 Events – Part I
Lecture 22 Events – Part II
Lecture 23 Working with Files
Lecture 24 Exercises III
Lecture 25 18 Solutions to Ex. III – Part I
Lecture 26 18 Solutions to Ex. III – Part II
Lecture 27 18 Solutions to Ex. III – Part III
Lecture 28 Lambda Expressions
Lecture 29 LINQ
Lecture 30 Exercises IV
Lecture 31 Solutions to Ex. IV
Lecture 32 End
Anyone who has an interest in software development and particularly object oriented programming.,Students that finished my course “C# Intermediate – Part I (Mastering OOP)”.
Password/解压密码www.tbtos.com
转载请注明:0daytown » C# Intermediate – Part Ii (Reflection, Events, Linq)