Share
Fr. 76.00
B Perkins, Benjami Perkins, Benjamin Perkins, Benjamin Reid Perkins, Jon D Reid, Jon D. Reid...
Beginning C# and .Net
English · Paperback / Softback
Shipping usually within 1 to 3 weeks (not available at short notice)
Description
Get a running start to learning C# programming with this fun and easy-to-read guide
As one of the most versatile and powerful programming languages around, you might think C# would be an intimidating language to learn. It doesn't have to be!
In Beginning C# and .NET: 2021 Edition, expert Microsoft programmer and engineer Benjamin Perkins and program manager Jon D. Reid walk you through the precise, step-by-step directions you'll need to follow to become fluent in the C# language and .NET.
Using the proven WROX method, you'll discover how to understand and write simple expressions and functions, debug programs, work with classes and class members, work with Windows forms, program for the web, and access data. You'll even learn about some of the new features included in the latest releases of C# and .NET, including data consumption, code simplification, and performance.
The book also offers:
* Detailed discussions of programming basics, like variables, flow control, and object-oriented programming that assume no previous programming experience
* "Try it Out" sections to help you write useful programming code using the steps you've learned in the book
* Downloadable code examples from wrox.com
Perfect for beginning-level programmers who are completely new to C#, Beginning C# and .NET: 2021 Edition is a must-have resource for anyone interested in learning programming and looking for a fun and intuitive place to start.
List of contents
Introduction xxvii
Part I: The C# Language
Chapter 1: Introducing C# 3
What Is .NET? 3
.NET Framework, .NET Standard, and .NET Core 4
Writing Programs Using .NET 5
CIL and JIT 5
Assemblies 6
Managed Code 7
Garbage Collection 7
Fitting It Together 7
Linking 8
What Is C#? 8
Applications You Can Write with C# 9
C# in This Book 10
Visual Studio 10
Visual Studio Products 10
Solutions 11
Chapter 2: Writing a C# Program 13
The Visual Studio Development Environment 14
Console Applications 18
The Solution Explorer 21
The Properties Window 22
The Error List Window 23
Desktop Applications 23
Chapter 3: Variables and Expressions 29
Basic C# Syntax 30
Basic C# Console Application Structure 33
Variables 34
Simple Types 34
Variable Naming 39
Literal Values 39
Binary Literals and Digit Separators 40
String Literals 41
Expressions 42
Mathematical Operators 43
Assignment Operators 48
Operator Precedence 49
Namespaces 50
Chapter 4: Flow Control 55
Boolean Logic 56
Boolean Bitwise and Assignment Operators 58
Operator Precedence Updated 60
Branching 60
The Ternary Operator 61
The if Statement 61
Checking More Conditions Using if Statements 64
The switch Statement 65
Looping 68
do Loops 68
while Loops 71
for Loops 73
Interrupting Loops 74
Infinite Loops 75
Chapter 5: More About Variables 79
Type Conversion 80
Implicit Conversions 80
Explicit Conversions 82
Explicit Conversions Using the Convert Commands 84
Complex Variable Types 87
Enumerations 87
Defining Enumerations 88
Structs 91
Defining Structs 92
Arrays 94
Declaring Arrays 95
foreach Loops 98
Pattern Matching with switch case Expression 98
Multidimensional Arrays 102
Arrays of Arrays 104
String Manipulation 105
Chapter 6: Functions 113
Defining and Using Functions 114
Return Values 117
Parameters 118
Parameter Matching 121
Parameter Arrays 121
Reference and Value Parameters 123
Out Parameters 125
Tuples 126
Variable Scope 128
Variable Scope in Other Structures 131
Parameters and Return Values versus Global Data 132
Local Functions 134
The Main() Function 135
Struct Functions 137
Overloading Functions 138
Using Delegates 140
Chapter 7: Debugging And Error Handling 145
Debugging in Visual Studio 146
Debugging in Nonbreak (Normal) Mode 147
Outputting Debugging Information 148
Tracepoints 152
Diagnostics Output versus Tracepoints 154
Debugging in Break Mode 155
Entering Break Mode 155
Monitoring Variable Content 158
Stepping through Code 161
Immediate and Command Windows 162
The Call Stack Window 163
Error Handling 163
try. . .catch. . .finally 164
Throw Expressions 172
Listing and Configuring Exceptions 172
Chapter 8: Introduction To Object-Oriented Programming 175
&
About the author
About the authors
Benjamin Perkins is a Sr. Escalation Engineer at Microsoft. His experience includes designing, developing, deploying, administering, and managing enterprise-level IT solutions. Jon D. Reid is a Program Manager in Research and Development at IFS AB, specializing in Field Service Management using C# and .NET.
Summary
Get a running start to learning C# programming with this fun and easy-to-read guide
As one of the most versatile and powerful programming languages around, you might think C# would be an intimidating language to learn. It doesn't have to be!
In Beginning C# and .NET: 2021 Edition, expert Microsoft programmer and engineer Benjamin Perkins and program manager Jon D. Reid walk you through the precise, step-by-step directions you'll need to follow to become fluent in the C# language and .NET.
Using the proven WROX method, you'll discover how to understand and write simple expressions and functions, debug programs, work with classes and class members, work with Windows forms, program for the web, and access data. You'll even learn about some of the new features included in the latest releases of C# and .NET, including data consumption, code simplification, and performance.
The book also offers:
* Detailed discussions of programming basics, like variables, flow control, and object-oriented programming that assume no previous programming experience
* "Try it Out" sections to help you write useful programming code using the steps you've learned in the book
* Downloadable code examples from wrox.com
Perfect for beginning-level programmers who are completely new to C#, Beginning C# and .NET: 2021 Edition is a must-have resource for anyone interested in learning programming and looking for a fun and intuitive place to start.
Product details
Authors | B Perkins, Benjami Perkins, Benjamin Perkins, Benjamin Reid Perkins, Jon D Reid, Jon D. Reid, Reid Jon D. |
Publisher | Wiley, John and Sons Ltd |
Languages | English |
Product format | Paperback / Softback |
Released | 21.09.2021 |
EAN | 9781119795780 |
ISBN | 978-1-119-79578-0 |
No. of pages | 864 |
Subjects |
Natural sciences, medicine, IT, technology
> IT, data processing
> Programming languages
Informatik, C Sharp, computer science, Programmierung u. Software-Entwicklung, Programming & Software Development, Computer Science - General Interest, Populäre Themen i. d. Informatik, Programmierung / C u. C++, Programming / C & C++, Visual C sharp |
Customer reviews
No reviews have been written for this item yet. Write the first review and be helpful to other users when they decide on a purchase.
Write a review
Thumbs up or thumbs down? Write your own review.