WP8 C# 3.0 Features screenshot 1 WP8 C# 3.0 Features screenshot 2 WP8 C# 3.0 Features screenshot 3 WP8 C# 3.0 Features screenshot 4 WP8 C# 3.0 Features screenshot 5 WP8 C# 3.0 Features screenshot 6 WP8 C# 3.0 Features screenshot 7 WP8 C# 3.0 Features screenshot 8
Supported Devices
Mobile
Updated
May 19,2019
Size
513.78 KB
Age
Everyone
Release Date
Description
C# 3.0 introduced new data features that streamline the way we:
- define classes and the way we instantiate and initialize their instances (Auto Implemented Properties, Object and Collection Initializers, Implicitly Typed Variables, Anonymous Types),
- enable us to extend classes without modifying their source code (Extension Methods),
- define optional and extra code at will (Partial Methods), and
- efficiently create strongly types function pointers (Lambda Expression).

This learning unit explores these features and demonstrates how you can use them.

Features:

- More than 200 minutes of video
- Learn how to define and use auto-implemented properties
- Learn how to initialize objects and collections with object and collection initializers
- Learn how to implicitly declare variables in your program with the var keyword
- Learn how to create objects from nameless types and use them in your code
- Learn how to use extension methods to add instance methods to a class or a struct
- Learn how to use extension methods to add instance methods to all types implementing an interface
- Learn how to package extension methods in their own namespace and bring them into scope
- Learn what partial methods are and why you might need them
- Learn how to use partial methods as optional plug-in of extra code to instance methods of a class
- Learn how to use partial methods as optional plug-in of extra code to properties of a class
- Learn how to use partial methods as optional plug-in of extra code to static methods of a class
- Learn what lambda expressions are and why use them
- Learn how to define methods as lambda expressions and how to invoke them via delegates
- Learn how to efficiently use lambda expressions with the generic Func delegate
- Learn how to convert a lambda expression into its corresponding expression tree and back
- Clear and crisp explanations
- Full and complete application code demonstrations