Back to Browse

C# LINQ, Generic Collections, Extension Methods, Anonymous Methods and Lambda Expressions

568 views
Apr 22, 2022
27:10

Time Description 0:20 CsharpAdvancedConcepts Program 0:30 Implicitly Typed Local Variables 0:36 “var” keyword enables you to declare variables whose type will be implicitly inferred 1:50 Anonymous Types 2:00 Allows you to create an instance of a class without having to write code for the class 2:40 Properties are read-only 3:00 C# creates the class for you 3:15 Extension Methods 3:20 Allows developers to add new methods to existing types, without having to sub-class it or recompile the original type 5:20 Anonymous Methods and Lambda Expressions 6:40 Don’t have to create a separate method for delegates 7:45 Auto-Implemented Properties 7:58 User can code the properties and the compiler will generate the private variables 8:06 Language Integrated Query 8:15 LINQ allows you to write query expressions to extract data from objects and databases 8:24 LINQ to Objects, LINQ to XML, LINQ to SQL 9:15 LINQ query begins with the “from” clause 9:20 LINQ program with array (Fig 9.2) 9:30 foreach statement uses IEnumerable 15:45 LINQ program with a class and anonymous types (Fig 9.4) 22:10 LINQ program with generic collection (Fig 9.7)

Download

0 formats

No download links available.

C# LINQ, Generic Collections, Extension Methods, Anonymous Methods and Lambda Expressions | NatokHD