Get up to speed now in C# 7.x with thorough walkthroughs
Demonstrate each new feature so you can see how it can be used, and how you could put it to work for you
Best Practices for tuples, switch pattern matching and reference return values just look plain weird until you know how to use them
Description
C# is a complex language, and it can be difficult to use it when you first start out. There are so many rules and standards that you're bound to make mistakes, but avoiding these common mistakes will make your programs much more efficient.
With this course, you'll learn to implement practical and proven techniques to improve particular aspects of C# 7.x development. Each section covers tips and techniques with explicit instructions to carry out different C# 7.x tasks in a practical manner. The techniques are demonstrated using small practical examples. You will boost your skills with information on enhancing your coding style and performance, and learn about C# 7.x processes and code quality. This course focuses on discovering new possibilities with C# 7.x, that can enhance your current skill set.
By the end of this course, you will have learned some exciting tips, best practices, and techniques for your C# 7.x coding. You will be able to build your own desktop applications in C# 7.x much faster and with ease.
All the code and supporting files for this course are available at https://github.com/PacktPublishing/-C-7.x-Tips-Tricks-and-Techniques
Who is this book for?
This course is for C# software developers who want to learn some useful, interesting ways to further improve their C# skills to build applications in a much faster and easy way.
Prior C# knowledge is assumed.
What you will learn
Implement practical and proven techniques to improve particular aspects of C# 7.x development
Take advantage of the new tuples in C# 7.x and see what they can now do
Discover the new pattern matching features and what you can do with switch case statements
Build local functions inside functions. Yes, those local functions can be recursive too
Explore what variables can do for you and how they clean up your code
C++ has had reference variables for decades, and now C# finally has them thanks to C# 7.x
Discover how you can now use expression body syntax for constructors, finalizers, and indexers
How can I download a video package for offline viewing?
Login to your account at Packtpub.com.
Click on "My Account" and then click on the "My Videos" tab to access your videos.
Click on the "Download Now" link to start your video download.
How can I extract my video file?
All modern operating systems ship with ZIP file extraction built in. If you'd prefer to use a dedicated compression application, we've tested WinRAR / 7-Zip for Windows, Zipeg / iZip / UnRarX for Mac and 7-Zip / PeaZip for Linux. These applications support all extension files.
How can I get help and support around my video package?
If your video course doesn't give you what you were expecting, either because of functionality problems or because the content isn't up to scratch, please mail [email protected] with details of the problem. In addition, so that we can best provide the support you need, please include the following information for our support team.
Video
Format watched (HTML, MP4, streaming)
Chapter or section that issue relates to (if relevant)
System being played on
Browser used (if relevant)
Details of support
Why can’t I download my video package?
In the even that you are having issues downloading your video package then please follow these instructions:
Disable all your browser plugins and extensions: Some security and download manager extensions can cause issues during the download.
Download the video course using a different browser: We've tested downloads operate correctly in current versions of Chrome, Firefox, Internet Explorer, and Safari.