The Little C# Book
$10
$10
https://schema.org/InStock
usd
Kenneth Carey
The Little C# Book is a compact guide for programmers looking to quickly get up to speed with C#. Unlike longer, more traditional programming books, this one is designed to be short and to the point, helping you learn the essentials without getting bogged down in unnecessary detail.
Inside, you'll find:
- A guide to getting started, including steps for installing the .NET SDK on Windows, Linux, and macOS.
- An overview of C# language basics, from its C-like syntax to concepts like static typing, exception handling and garbage collection.
- Fundamental object-oriented programming (OOP) concepts such as encapsulation, inheritance, and polymorphism.
- Common collections and LINQ (Language Integrated Query) for filtering and working with data collections.
- A look at concurrency and the use of Threads, Tasks and async/await to write concurrent code.
- Lots more.....
Break out your code editor, and happy coding!
-- Kenneth
Contents
Introduction
-
Getting Started
- Linux and MacOS
- Windows
- Check Your Install
- Code Editor
- Running Your First Program
-
Language Basics
- C-Like Syntax
- Statically Typed
- Compiling
- Assemblies
- Variables
- Reference and Value Types
- Declarations
- Variable Initialization
- Type Inference
- Garbage Collection
- Skeleton C# Program
- Namespaces
- Using
- Global Using
- Namespace Conflicts
- Control Flow
- If-Statement
- Switch-Statement
- Loops
- Enumerations
- Methods (aka Functions)
- Return Values
- Tuples
- Parameters
- Optional Parameters
- Named Parameters
- The out and ref Modifiers
- Delegates
- Anonymous Methods
- Lambda Expressions
- Exception Handling
- Exception Filtering
- Generics
- Chapter Summary
-
Object-Orientated Programming
- Classes
- Constructors
- this
- Instance Methods
- Static Classes and Methods
- Encapsulation - Hiding Our Class Internals
- Properties
- Auto-Implemented Properties
- Object Initializers
- init Properties
- Interfaces
- Inheritance (and a little about Polymorphism)
- Abstract Classes
- Object
- Polymorphism
- Protected Access Modifier
- Extension Methods
- Structures
- Records
- Chapter Summary
- Classes
-
Collections of Things
- Arrays
- List
- Dictionary<K,V>
- Collection Expressions & The Spread Operator
- IEnumerable
- IEnumerable In Practice
- Read-Only Collections
- Language Integrated Query (LINQ)
- LINQ Extension Methods
- Projections
- Select
- SelectMany
- Filtering
- Where
- First & FirstOrDefault
- Single & SingleOrDefault
- Skip & Take
- Quantifier Methods
- Aggregate Operators
- Deferred Execution
- Chapter Summary
-
Concurrency
- Threads
- Tasks
- async/await
- Exception Handling
- Continuations
- Cancelling Tasks
- Task Extensions
- Synchronization
- Sharing Data
- Chapter Summary
-
Odds and Ends
- Pattern Matching
- Nullable Types
- Null References - The Billion-Dollar Mistake
- Null Coalescing Operator ??
- using
- Chapter Summary
- Conclusion
The Little C# Book
Lanuage
English
Formats
PDF, HTML
Pages
102 (in PDF format)
Last Updated
Sept. 2025
Add to wishlist
Share
Ratings
2
5
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%