Book Image

C# 7.x Tips, Tricks, and Techniques [Video]

By : Simon Hughes
Book Image

C# 7.x Tips, Tricks, and Techniques [Video]

By: Simon Hughes

Overview of this book

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
Table of Contents (4 chapters)
Chapter 1
New C# 7.0 Tools to Boost Your Productivity
Content Locked
Section 6
Return by Reference
Ref keyword has been enhanced and can now be used in two more useful situations like returning a reference value from a method, and creating a local variable to store a reference value. - Learn about the new enhancements to the ref keyword - Understand how to return a reference value from a method - Explain about creating local variables to store reference values