官术网_书友最值得收藏!

eBook Manager and Catalogue App

C# 7 is a fantastic release and is available in Visual Studio 2017. It introduces developers to a lot of powerful features, some of which were previously only available in other languages. The new features introduced in C# 7 allow developers to write less code and be more productive.

The features available are:

  • Tuples
  • Pattern matching
  • Out variables
  • Deconstruction
  • Local functions
  • Improvements to literals
  • Ref returns and locals
  • Generalized async and return types
  • Expression bodies for accessors, constructors, and finalizers
  • Throw expressions

This chapter will take you through some of these features, while the rest of the book will introduce you to some of the other features as we go along. In this chapter, we will create an eBookManager application. If you are like me, you have eBooks scattered all over your hard drives and some external drives as well. This application will provide a mechanism to bring all these various locations together into a Virtual Storage Space. The application is functional, but can be further enhanced to suit your needs. The scope for an application such as this is vast. You can download the source code from GitHub (https://github.com/PacktPublishing/CSharp7-and-.NET-Core-2.0-Blueprints) and follow it to see some of the new features of C# 7 in action.

Let's begin!

主站蜘蛛池模板: 武功县| 荣成市| 乐陵市| 大冶市| 丹江口市| 泸水县| 类乌齐县| 武隆县| 八宿县| 富宁县| 柳州市| 临颍县| 宁乡县| 大关县| 三台县| 蓬安县| 铅山县| 射阳县| 正定县| 恭城| 澎湖县| 大方县| 托克托县| 浪卡子县| 襄樊市| 肇州县| 永年县| 白玉县| 鲜城| 远安县| 镇安县| 临颍县| 泾川县| 宜丰县| 江达县| 乌拉特中旗| 姚安县| 仲巴县| 通州市| 菏泽市| 罗田县|