Leanpub Header

Skip to main content

C# 11.0 Crashkurs

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

Der "C# Crashkurs" ist ein prägnanter Überblick über die Syntax der Programmiersprache C# in der aktuellen und produktionsreifen Version 11.0. Dies ist die Auflage 6.9 des Buchs, die am 30.10.2023 im Umfang von 400 Seiten erschienen ist und bereits einen Ausblick auf C# 12.0 enthält!

This book is available in multiple packages!

Pick Your Package
PDF
391
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.

Packages

Pick Your Package

All packages include the ebook in the following formats: PDF

Nur das PDF-E-Book

Minimum price

Suggested price$29.99

$24.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# 11 Cheat Sheet

    $26.99

    • Programmcode zum Buch als Projektmappe für Visual Studio 2022
    • Spickzettel/Cheat Sheet C# 11.0 und .NET 7.0

    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# 30 7 Grundkonzepte von C# 51 8 Der C#-Compiler 56 9 Erste C#-Schritte mit Visual Studio 65 10 Datentypen 92 11 Operatoren 112 12 Schleifen 120 13 Verzweigungen 122 14 Klassendefinition 136 15 Datenmitglieder / Attribute (Fields und Properties) 145 16 Methoden 156 17 Konstruktoren und Destruktoren 170 18 Aufzählungstypen (Enumeration) 173 19 Expression-bodied Members 174 20 Behandlung von null 175 21 Partielle Klassen 187 22 Partielle Methoden 189 23 Erweiterungsmethoden (Extension Methods) 191 24 Annotationen (.NET-Attribute) 203 25 Generische Klassen 209 26 Objektmengen (Arrays und Collections) 216 27 Implementierungsvererbung 221 28 Schnittstellen (Interfaces) 223 29 Namensräume (Namespaces) 230 30 Anonyme Typen 238 31 Operatorüberladung 239 32 Strukturen 241 33 Record-Typen 255 34 Immutable Objects 274 35 Tupel 278 36 Funktionale Programmierung in C# (Delegates / Lambdas) 283 37 Ereignisse 293 38 IDisposable / Using-Blöcke 295 39 Laufzeitfehler 299 40 Modul-Initialisierer 302 41 Kommentare und XML-Dokumentation 304 42 Asynchrone Ausführung mit async und await 306 43 Iteratoren 309 44 Zeigerprogrammierung 314 45 Abfrageausdrücke / Language Integrated Query (LINQ) 319 46 Source-Generatoren 347 47 Performanceoptimierungen 351 48 Ausblick auf C# 12.0 359 49 Anhang: Syntaxreferenz: C# versus Visual Basic .NET 370 50 Anhang: Neuerungen in früheren Versionen 377 51 Anhang: Quellen im Internet 382 52 Anhang: Versionsgeschichte dieses Buchs 383 53 Stichwortverzeichnis (Index) 389 54 Werbung in eigener Sache 398

    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