Book description
Look sharp—learn or refresh your C# skills with the latest versionC# is one of the most popular programming languages, and frequent updates help it keep pace as the world of coding changes. You can keep pace too, thanks to C# 10.0 All-in-One For Dummies, where you'll learn the basics of the language itself, how to code in Visual Studio, and how to take advantage of the new features in the latest release. At every stage of your career, you'll need to know the cutting-edge trends and techniques that clients want. This book has your back, with info on object-oriented programming, writing secure code, building web applications, and more.
The six standalone mini-books you'll find inside this all-in-one will take you through the changes to C# and the practical applications and dev tools that you need to know. New features covered include records, init only setters, top-level statements, pattern matching enhancements, fit and finish features, and a lot more. Plus, this version is packed with more examples and code snippets, so you can sharply see C# in action!
- Learn the very basics of C# programming, even if you have no prior experience
- Refresh your knowledge of the language and learn how to use the new features in the 10.0 version release
- Read six mini-books on hot coding topics like object-oriented programming, Visual Studio, and Windows 10 development
- Enhance your employability and join the 6.5-million-strong community of C# developers
You need an easy-to-read C# guide that will help you understand the incoming updates, and this For Dummies reference is it.
Table of contents
- Cover
- Title Page
- Copyright
- Introduction
-
Book 1: The Basics of C# Programming
-
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
- Chapter 6: Lining Up Your Ducks with Collections
- Chapter 7: Stepping through Collections
- Chapter 8: Buying Generic
- Chapter 9: Some Exceptional Exceptions
- Chapter 10: Creating Lists of Items with Enumerations
-
Chapter 1: Creating Your First C# Console Application
-
Book 2: Object-Oriented C# Programming
-
Chapter 1: Showing Some Class
- A Quick Overview of Object-Oriented Programming
- Defining a Class and an Object
- Accessing the Members of an Object
- Working with Object-Based Code
- Discriminating between Objects
- Can You Give Me References?
- Classes That Contain Classes Are the Happiest Classes in the World
- Generating Static in Class Members
- Defining const and readonly Data Members
- Chapter 2: We Have Our Methods
- Chapter 3: Let Me Say This about this
- Chapter 4: Holding a Class Responsible
- Chapter 5: Inheritance: Is That All I Get?
- Chapter 6: Poly-what-ism?
-
Chapter 7: Interfacing with the Interface
- Introducing CAN_BE_USED_AS
- Knowing What an Interface Is
- Using an Interface
- Using the C# Predefined Interface Types
- Looking at a Program That CAN_BE_USED_AS an Example
- Unifying Class Hierarchies
- Hiding Behind an Interface
- Inheriting an Interface
- Using Interfaces to Manage Change in Object-Oriented Programs
- Chapter 8: Delegating Those Important Events
- Chapter 9: Can I Use Your Namespace in the Library?
- Chapter 10: Improving Productivity with Named and Optional Parameters
- Chapter 11: Interacting with Structures
-
Chapter 1: Showing Some Class
- Book 3: Designing for C#
- Book 4: A Tour of Visual Studio
- Book 5: Windows Development with WPF
- Book 6: Web Development with ASP.NET
- Index
- About the Author
- Advertisement Page
- Connect with Dummies
- End User License Agreement
Product information
- Title: C# 10.0 All-in-One For Dummies
- Author(s):
- Release date: March 2022
- Publisher(s): For Dummies
- ISBN: 9781119839071
You might also like
book
C# in Depth, Fourth Edition
C# in Depth, Fourth Edition is your key to unlocking the powerful new features added to …
video
C# in Depth, 4th Ed, Video Edition
"Jon doesn’t just explain how C# works; he explains how the whole thing holds together as …
book
Windows 11 All-in-One For Dummies
Get more out of your Windows 11 computer with easy-to-follow advice Powering 75% of the PCs …
book
Essential C# 12.0, 8th Edition
The Comprehensive, Expert Guide to C# 12.0 for Programmers at All Levels Updated for the Microsoft …