• Complain

Mark Michaelis - Essential C# 7.0

Here you can read online Mark Michaelis - Essential C# 7.0 full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2018, publisher: Addison-Wesley Professional, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Mark Michaelis Essential C# 7.0
  • Book:
    Essential C# 7.0
  • Author:
  • Publisher:
    Addison-Wesley Professional
  • Genre:
  • Year:
    2018
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Essential C# 7.0: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Essential C# 7.0" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

The Comprehensive, Expert Guide to the C# 7.0 Language and Programming Paradigms

This book has been a classic for years, and remains one of the most venerable and trusted titles in the world of C# content, and probably far beyond! Mads Torgersen, C# Program Manager, Microsoft

Essential C# 7.0 is a well-organized, no-fluff guide to C# 7.0 for programmers at all levels of experience. Reflecting C# 7.0 features and modern programming patterns, it will help you write code thats simple, powerful, robust, secure, and maintainable.

Author Mark Michaelis is a world-class C# expert: a long-time Microsoft MVP and Regional Director who also serves on Microsofts C# design review team. He presents a comprehensive tutorial and reference for the entire language, including expert coverage of key C# 7.0 enhancements, C# 7.0s use with .NET Core/.NET Standard, and cross-platform compilation. He illustrates key C# 7.0 constructs with succinct examples, and presents best-practice coding guidelines. To help you maintain existing code, separate indexes provide version-specific answers for C# 4.0, 5.0, 6.0, and 7.0, and visual icons show when each language innovation was introduced.

  • Make the most of C# 7.0 enhancements, including tuples, deconstructors, pattern matching, local functions, and ref returns
  • Work efficiently with C# data types, operators, control flow, methods, and parameters
  • Write more robust code with C# object-oriented constructs
  • Implement reliable, effective exception handling
  • Reduce code complexity with generics, delegates, lambda expressions, and events
  • Leverage advanced dynamic and declarative programming techniques
  • Query diverse data collections using LINQ with query expressions
  • Create custom collections that operate against business objects
  • Access .NET collections via collection interfaces and standard query operators
  • Master multithreading and synchronization, including the async/await paradigm
  • Optimize performance and interoperability with P/Invoke and unsafe code
  • Run your code on Linux or macOS with C# 7.0 cross-platform compilation

This guide offers you a complete foundation for successful development with modern versions of the C# language in any project or environment.

Register your product at informit.com/register for convenient access to downloads, updates, and/or corrections as they become available.

Mark Michaelis: author's other books


Who wrote Essential C# 7.0? Find out the surname, the name of the author of the book and a list of all author's works by series.

Essential C# 7.0 — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Essential C# 7.0" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Essential C# 7.0

Sixth Edition

Mark Michaelis

Essential C 70 - image 1
Contents at a Glance
Foreword

Welcome to one of the most venerable and trusted franchises you could dream of in the world of C# booksand probably far beyond! Mark Michaelis Essential C# series has been a classic for years, but it was yet to see the light of day when I first got to know Mark.

In 2005 when LINQ (Language Integrated Query) was disclosed, I had only just joined Microsoft, and I got to tag along to the PDC conference for the big reveal. Despite my almost total lack of contribution to the technology, I thoroughly enjoyed the hype. The talks were overflowing, the printed leaflets were flying like hotcakes: It was a big day for C# and .NET, and I was having a great time.

It was pretty quiet in the hands-on labs area, though, where people could try out the technology preview themselves with nice scripted walkthroughs. Thats where I ran into Mark. Needless to say, he wasnt following the script. He was doing his own experiments, combing through the docs, talking to other folks, busily pulling together his own picture.

As a newcomer to the C# community, I think I may have met a lot of people for the first time at that conferencepeople that I have since formed great relationships with. But to be honest, I dont remember it - its all a blur. The only one I remember is Mark. Here is why: When I asked him if he was liking the new stuff, he didnt just join the rave. He was totally level-headed: I dont know yet. I havent made up my mind about it. He wanted to absorb and understand the full package, and until then he wasnt going to let anyone tell him what to think.

So instead of the quick sugar rush of affirmation I might have expected, I got to have a frank and wholesome conversation, the first of many over the years, about details, consequences, and concerns with this new technology. And so it remains: Mark is an incredibly valuable community member for us language designers to have, because he is super smart, insists on understanding everything to the core, and has phenomenal insight into how things affect real developers. But perhaps most of all because he is forthright and never afraid to speak his mind. If something passes the Mark Test then we know we can start feeling pretty good about it!

These are the same qualities that make Mark such a great writer. He goes right to the essence and communicates with great integrity, no sugarcoating, and a keen eye for practical value and real-world problems. Mark has a great gift of providing clarity and elucidation, and no one will help you get C# 7.0 like he does.

Enjoy!

Mads Torgersen, C# Program Manager, Microsoft

Chapter 1 Introducing C#

C# is now a well-established language that builds on features found in its predecessor C-style languages (C, C++, and Java), making it immediately familiar to many experienced programmers. Furthermore, the C# programming language can be used to build software components and applications which run on a wide variety of operating systems (platforms).

. The first C# design meeting took place in 1998.

This chapter introduces C using the traditional HelloWorld program The - photo 2

This chapter introduces C# using the traditional HelloWorld program. The chapter focuses on C# syntax fundamentals, including defining an entry point into the C# program. This will familiarize you with the C# syntax style and structure, and it will enable you to produce the simplest of C# programs. Prior to the discussion of C# syntax fundamentals is a summary of managed execution context, which explains how a C# program executes at runtime. This chapter ends with a discussion of variable declaration, writing and retrieving data from the console, and the basics of commenting code in C#.

Hello, World

The best way to learn a new programming language is to write code. The first example is the classic HelloWorld program. In this program, you will display some text to the screen.

shows the complete HelloWorld program; in the following sections, you will compile and run the code.


class HelloWorld{ static void Main() { System.Console.WriteLine( "Hello. My name is Inigo Montoya." ); }}

. Refer to the movie The Princess Bride if youre confused about the Inigo Montoya references.


Note

C# is a case-sensitive language: Incorrect case prevents the code from compiling successfully.


Those experienced in programming with Java, C, or C++ will immediately see similarities. Like Java, C# inherits its basic syntax from C and C++. Syntactic punctuation (such as semicolons and curly braces), features (such as case sensitivity), and keywords (such as class, public, and void) are familiar to programmers experienced in these languages. Beginners and programmers from other languages will quickly find these constructs intuitive.

. When creating C#, the language creators reviewed the specifications for C/C++, literally crossing out the features they didnt like and creating a list of the ones they did like. The group also included designers with strong backgrounds in other languages.

Creating, Editing, Compiling and Running C# Source Code

Once you have C# code written, it is time for you to compile and run the code. To accomplish this, we have a choice of which .NET implementation(s) to use - sometimes referred to as the .NET framework(s). Generally, the implementation is packaged into a software development kit (SDK). The SDK includes the compiler, runtime execution engine, the framework of pragmatically accessible functionality that the runtime can access (see API later in the chapter), along with any additional tooling (such as a build engine for automating build steps) that might be bundled with the SDK. Given that C# has been publicly available since the year 2000, there are, in fact, several different .NET frameworks to choose from (see the Multiple .NET frameworks section at the end of the chapter).

For each .NET framework, the installation instructions vary depending on which operating system you are developing on and which .NET framework you select. For this reason, I recommend you visit https://www.microsoft.com/net/download for download and installation instructions, selecting first the .NET framework and then the package to download based on which operating system you will be developing for. While I could provide further details here, the link has the most updated instructions for each combination supported.

If you are unsure about which .NET framework to work with, choose .NET Core by default. It will work on Linux, OS X, and Microsoft Windows and is the implementation where the .NET development teams are applying the majority of their investments. Furthermore, because of the cross-platform capabilities, I will favor .NET Core instructions inline within the chapters.

There are also numerous ways to edit your source code including the most rudimentary of tools like Notepad on Windows, TextEdit on Mac/OS X, or vi on Linux. However, youre likely to want something more advanced so that at least your code is colorized. Any programming editor that supports C# will suffice. However, if you dont already have a preference, I recommend you consider the open source editor, Visual Studio Code (https://code.visualstudio.com/). Or, if you are working on Windows or Mac, consider Microsoft Visual Studio 2017 (or later) - see https://www.visualstudio.com/. Both are available free of charge.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Essential C# 7.0»

Look at similar books to Essential C# 7.0. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Essential C# 7.0»

Discussion, reviews of the book Essential C# 7.0 and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.