Leanpub Header

Skip to main content

C# 13.0 Crashkurs

Die Syntax der Programmiersprache C# für die Softwareentwicklung in .NET Framework und .NET bis einschließlich Version 9.0

Der "C# Crashkurs" ist ein prägnanter Überblick über die Syntax der Programmiersprache C# in der aktuellen und produktionsreifen Version C# 13.0. Das Buch bietten auch einen Ausblick auf C# 14.0. Dies ist die top-aktuelle Buchversion 13.5, die am 05.09.2025 erschienen ist.

This book is available in multiple packages!

Pick Your Package
PDF
439
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$31.99

$29.99

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

    Minimum price

    Suggested price$33.99

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

    $31.99

    • Programmcode zum Buch als Projektmappe für Visual Studio 2022
      Visual Studio-Projekte
    • Spickzettel/Cheat Sheet C# 13.0 und .NET 9.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 16 4 Über den Autor 18 5 Über dieses Buch 20 6 Fakten zu C# 32 7 Grundkonzepte von C# 54 8 Der C#-Compiler 58 9 Erste C#-Schritte mit Visual Studio 67 10 Datentypen 94 11 Operatoren 116 12 Schleifen 127 13 Verzweigungen 129 14 Klassendefinition 143 15 Datenmitglieder / Attribute (Fields und Properties) 152 16 Methoden 164 17 Konstruktoren und Destruktoren (Finalizer) 182 18 Aufzählungstypen (Enumeration) 188 19 Expression-bodied Members 189 20 Behandlung von null 190 21 Partielle Klassen, Methoden, Properties und Indexer 202 22 Erweiterungsmethoden (Extension Methods) 208 23 Annotationen (.NET-Attribute) 219 24 Generische Klassen 225 25 Objektmengen (Arrays und Collections) 232 26 Implementierungsvererbung 242 27 Schnittstellen (Interfaces) 244 28 Namensräume (Namespaces) 251 29 Anonyme Typen 259 30 Operatorüberladung 260 31 Strukturen 262 32 Record-Typen 278 33 Immutable Objects 296 34 Tupel 300 35 Typaliase (seit C# 12.0) 305 36 Funktionale Programmierung in C# (Delegates / Lambdas) 307 37 Ereignisse 317 38 IDisposable / Using-Blöcke 319 39 Exklusive Zugriffe auf Ressourcen mit lock() 323 40 Laufzeitfehler 326 41 Modul-Initialisierer 329 42 Kommentare und XML-Dokumentation 331 43 Asynchrone Ausführung mit async und await 333 44 Iteratoren 336 45 Zeigerprogrammierung 341 46 Abfrageausdrücke / Language Integrated Query (LINQ) 346 47 Source-Generatoren 374 48 Performanceoptimierungen 378 49 Ausblick auf C# 14.0 394 50 Anhang: Syntaxreferenz: C# versus Visual Basic .NET 411 51 Anhang: Neuerungen in früheren Versionen 419 52 Anhang: Quellen im Internet 426 53 Anhang: Versionsgeschichte dieses Buchs 427 54 Stichwortverzeichnis (Index) 428 55 Werbung in eigener Sache  437

    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