Book Image

C# 7 and .NET Core Solutions [Video]

By : Dirk Strauss
Book Image

C# 7 and .NET Core Solutions [Video]

By: Dirk Strauss

Overview of this book

C# has recently been open-sourced and brings a host of exciting new features that allows you to write better codes and resolve common programming challenges. This course will equip you with all the new features in a practical approach to solve everyday problems faced by developers. You will explore the new features of C# and .NET to get started with building the foundation of your application. In this course you will create regular expression, work with Files, Streams, and Serialization, and also handle task and exceptions. Then you work with MVC, enhance your coding performance and build a responsive and cross platform application from extracting data, search tool, notification panel and finally publish your application live. The code bundle for this video course is available at-
Table of Contents (10 chapters)
Composing Event-Based Programs Using Reactive Extensions
Chapter 1
New Features in C# 7.0
Content Locked
Section 7
Ref Returns and Locals
Passing objects by reference in C# is nothing new. This is done using the ref keyword. In C# 7.0, however, you can now return objects by reference and store these objects in a local variable by reference. We will look at it in this video. - Create a new method inside the Chapter1 class - Create a second method with the same name - Write the variable values to the console window