Leanpub Header

Skip to main content

C# 10.0 Crashkurs

Die Syntax der Programmiersprache C# für die Softwareentwicklung in .NET Framework, .NET Core, .NET 5.0 und .NET 6.0

Der "C# Crashkurs" ist ein prägnanter Überblick über die Syntax der Programmiersprache C# in der aktuellen Version 10.0 RTM inklusive Ausblick auf C# 11.0. Dies ist die Version 5.13 des Buchs, die am 31.10.2022 im Umfang von 355 Seiten erschienen ist.

This book is available in multiple packages!

Pick Your Package
PDF
357
Pages
About

About

About the Book

Dieser Crashkurs ist geeignet für Softwareentwickler, die von einer anderen objektorientierten Programmiersprache (z.B. C++, Java, Visual Basic .NET, Delphi oder PHP) auf C# umsteigen wollen oder bereits C# einsetzen und ihr Wissen erweitern, insbesondere die neusten Sprachfeatures kennenlernen wollen. Da es viele Umsteiger von Visual Basic .NET zu C# gibt, werden hier die Unterschiede von C# gegenüber Visual Basic .NET an einigen Stellen hervorgehoben.

Für Neueinsteiger, die mit C# erstmals überhaupt eine objektorientiere Programmiersprache erlernen wollen, ist dieses Werk hingegen nicht optimal geeignet, denn es werden die OO-Grundkonzepte nicht erklärt, da die meisten Softwareentwickler heutzutage diese aus anderen Sprachen kennen und das Buch nicht mit diesen Grundlagen unnötig in die Länge gezogen werden soll.

Das Buch erhebt nicht den Anspruch, vollständig alle syntaktischen Details zu C# aufzuzeigen, sondern nur die in der Praxis wichtigsten Konstrukte. In diesem Buch werden bewusst alle Syntaxbeispiele anhand von Konsolenanwendungen gezeigt. So brauchen Sie als Leser kein Wissen über eine bestimmte GUI-Bibliothek und die Beispiele sind prägnant fokussiert auf die Syntax.

Share this book

Categories

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF

E-Book (PDF) ohne Programmcodebeispiele

Minimum price

Suggested price$24.99

$19.99

    E-Book (PDF) + Programmcodebeispiele (Projektmapppe für Visual Studio) + Cheat Sheet

    Minimum price

    Suggested price$29.99

    Enthält die Programmcodebeispiele als Projektmappe für Visual Studio 2022 sowie ein zweiseitiges C# 10 Cheat Sheet

    $26.99

    • Programmcode zum Buch als Projektmappe für Visual Studio 2022
    • C# 10 Cheat Sheet

    Author

    About the Author

    Dr. Holger Schwichtenberg

    Dr. Holger Schwichtenberg - alias der "DOTNET-DOKTOR" - ist technischer Leiter des Expertennetzwerks www.IT-Visions.de, das mit 54 renommierten Experten zahlreiche mittlere und große Unternehmen durch Beratungen und Schulungen sowie bei der Softwareentwicklung unterstützt. Seine persönlichen Tätigkeitsschwerpunkte sind Webanwendungen, verteilte Systeme, systemnahe Programmierung und Datenbankzugriffe. Er programmiert leidenschaftlich in C# und JavaScript/TypeScript sowie PowerShell.

    Durch seine Auftritte auf zahlreichen nationalen und internationalen Fachkonferenzen sowie mehr als 95 Fachbücher für O’Reilly, Addison-Wesley, Microsoft Press, Apress und dem Hanser-Verlag gehört er zu den bekanntesten Softwareentwicklungsexperten in Deutschland. Er schreibt regelmäßig für die iX, die dotnetpro, windows developer und heise.de. Dadurch hat in seiner Karriere bereits über 1600 Fachartikel veröffentlicht. Von Microsoft wird er für sein .NET-Fachwissen seit nunmehr 22 Jahren kontinuierlich als Microsoft Most Valuable Professional (MVP) ausgezeichnet.

     

    Sein Weblog finden Sie unter https://www.dotnet-doktor.de. Bei X folgen Sie ihm unter @DOTNETDOKTOR.

    Contents

    Table of Contents

    1 Inhaltsverzeichnis (Hauptkapitel) 3 2 Inhaltsverzeichnis (Details) 5 3 Vorwort 14 4 Über den Autor 16 5 Über dieses Buch 18 6 Fakten zu C# 29 7 Grundkonzepte von C# 50 8 Der C#-Compiler 54 9 Erste C#-Schritte mit Visual Studio 63 10 Datentypen 87 11 Operatoren 103 12 Schleifen 111 13 Verzweigungen 113 14 Klassendefinition 122 15 Attribute (Fields und Properties) 129 16 Methoden 138 17 Konstruktoren und Destruktoren 147 18 Aufzählungstypen (Enumeration) 150 19 Expression-bodied Members 151 20 Behandlung von null 152 21 Partielle Klassen 164 22 Partielle Methoden 166 23 Erweiterungsmethoden (Extension Methods) 168 24 Annotationen (.NET-Attribute) 170 25 Generische Klassen 173 26 Objektmengen (Arrays und Collections) 178 27 Implementierungsvererbung 184 28 Schnittstellen (Interfaces) 186 29 Namensräume (Namespaces) 192 30 Anonyme Typen 200 31 Operatorüberladung 201 32 Strukturen 202 33 Record-Typen 216 34 Immutable Objects 235 35 Tupel 239 36 Funktionale Programmierung in C# (Delegates / Lambdas) 244 37 Ereignisse 254 38 IDisposable / Using-Blöcke 256 39 Laufzeitfehler 260 40 Modul-Initialisierer 263 41 Kommentare und XML-Dokumentation 265 42 Asynchrone Ausführung mit async und await 267 43 Iteratoren 270 44 Zeigerprogrammierung 275 45 Abfrageausdrücke / Language Integrated Query (LINQ) 280 46 Source Code-Generatoren 308 47 Performanceoptimierungen 312 48 Ausblick auf C# 11.0 316 49 Syntaxreferenz: C# versus Visual Basic .NET 334 50 Quellen im Internet 341 51 Versionsgeschichte dieses Buchs 342 52 Stichwortverzeichnis (Index) 347 53 Werbung in eigener Sache 355

    Get the free sample chapters

    Click the buttons to get the free sample in PDF or EPUB, or read the sample online here

    The Leanpub 60 Day 100% Happiness Guarantee

    Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

    Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

    You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

    So, there's no reason not to click the Add to Cart button, is there?

    See full terms...

    Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

    We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

    (Yes, some authors have already earned much more than that on Leanpub.)

    In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

    Learn more about writing on Leanpub

    Free Updates. DRM Free.

    If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

    Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

    Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

    Learn more about Leanpub's ebook formats and where to read them

    Write and Publish on Leanpub

    You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

    Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

    Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

    Learn more about writing on Leanpub