Book 1
The Basics of C# Programming
Contents at a Glance
- Chapter 1: Creating Your First C# Console Application
- Getting a Handle on Computer Languages, C#, and .NET
- Creating Your First Console Application
- Making Your Console App Do Something
- Reviewing Your Console Application
- Replacing All that Ceremonial Code: Top-Level Statements
- Introducing the Toolbox Trick
- Interacting with C# Online
- Working with Jupyter Notebook: The Short Version
- Chapter 2: Living with Variability — Declaring Value-Type Variables
- Declaring a Variable
- What’s an int?
- Representing Fractions
- Handling Floating-Point Variables
- Using the Decimal Type: Is It an Integer or a Float?
- Examining the bool Type: Is It Logical?
- Checking Out Character Types
- What’s a Value Type?
- Comparing string and char
- Calculating Leap Years: DateTime
- Declaring Numeric Constants
- Changing Types: The Cast
- Letting the C# Compiler Infer Data Types
- Chapter 3: Pulling Strings
- The Union Is Indivisible, and So Are Strings
- Performing Common Operations on a String
- Comparing Strings
- What If I Want to Switch Case?
- Looping through a String
- Searching Strings
- Getting Input from Users in Console Applications
- Controlling Output Manually
- Formatting Your Strings Precisely
- StringBuilder: Manipulating Strings More Efficiently
- Chapter 4: Smooth Operators
- Chapter 5: Getting into the Program Flow
Get C# 10.0 All-in-One For Dummies now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.