Beginning C# 7 Hands-On - The Core Language

A C# 7 beginners guide to the core parts of the C# language!

Beginning C# 7 Hands-On - The Core Language

Tom O.

1 customer reviews
A C# 7 beginners guide to the core parts of the C# language!
Mapt Subscription
FREE
$30.00/m after trial
eBook
$22.40
RRP $31.99
Save 29%
Print + eBook
$39.99
RRP $39.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$22.40
$39.99
$29.99 p/m after trial
RRP $31.99
RRP $39.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


Beginning C# 7 Hands-On - The Core Language Book Cover
Beginning C# 7 Hands-On - The Core Language
$ 31.99
$ 22.40
C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $28.98
Add to Cart

Book Details

ISBN 139781788296540
Paperback566 pages

Book Description

Beginning C# 7 Hands-On - The Core Language teaches you core C# language and syntax in a working Visual Studio environment. This book covers everything from core language through to more advanced features such as object-oriented programming techniques. This book is for C# 7 beginners who need a practical reference to core C# language features.

You'll also gain a view of C# 7 through web programming with web forms, so you'll learn HTML, basic CSS, and how to use a variety of controls, such as buttons and drop-down lists. You'll start with the fundamentals of C# and Visual Studio, including defining variables, interacting with users, and understanding data types, data conversions, and constants.

You'll move on to checking conditions using if/else blocks, and see how to use loops to do things such as repeat blocks of code. After covering various operators to evaluate and assign control structures, you'll see how to use arrays to store collections of data. By the time you’ve finished the book, you’ll know how to program the vital elements of the core C# language. These are the building blocks that you can then combine to build complex C# programs.

Table of Contents

Chapter 1: Why C# and How to Download and Install the Visual Studio Community Edition
Chapter 6: String Interpolation and Updating Visual Studio
Chapter 7: Formatting Output Strings for More Professional Results
Chapter 8: Using Variables and Data Types
Chapter 10: Interacting with Users Through the Web Page
Chapter 11: Using Method Chaining to Write More Compact Code
Chapter 12: Reacting to a Single Condition with If/Else Blocks
Chapter 13: Making a Variable Grow by Adding 1
Chapter 14: Repeating Blocks of Code with While Loops
Chapter 15: Repeating Blocks of Code with For Loops
Chapter 16: Iterating Over Collections with foreach Loops
Chapter 17: Examining Multiple Variable Values with Switch Blocks
Chapter 18: Improving Input Processing with TryParse
Chapter 19: Replacing If/Else Blocks with the Ternary Operator
Chapter 20: Operators That Evaluate and Assign in Place
Chapter 21: Checking Two Conditions with the Logical AND Operator
Chapter 22: Checking Two Conditions with the Logical OR Operator
Chapter 23: Declaring, Setting, and Reading Arrays
Chapter 24: Iterating Over Arrays with foreach and for Loops
Chapter 25: Creating and Using a Simple Method
Chapter 26: Passing Arrays into Methods
Chapter 27: Reference Type and Value Type Variables
Chapter 28: Creating More Flexible Methods with the params Keyword
Chapter 29: Creating More Flexible Functions with the out Keyword
Chapter 30: Combining the ref and out Keywords to Write Flexible Functions
Chapter 32: Multidimensional Arrays
Chapter 33: Writing Easier Code with the Var and Dynamic Keywords
Chapter 34: Creating a Class with a Constructor and a Function
Chapter 35: Creating a Class with a Static Method
Chapter 36: Creating a Class with an Object Property
Chapter 37: Creating a Class with Static Fields, Functions, and Properties
Chapter 38: Centralizing Common Code with Inheritance
Chapter 39: Centralizing Default Code with Virtual Functions
Chapter 40: Model Concepts with Abstract Classes
Chapter 41: Using Custom Types as Return Types
Chapter 42: Using Lists to Operate on Data Efficiently
Chapter 43: Writing Less Code with Polymorphism
Chapter 44: Using Interfaces to Express Common Behaviors
Chapter 45: Iterating over Instances with Indexers
Chapter 46: Building Stabler Apps with Exception Handling
Chapter 47: Using Named and Optional Parameters
Chapter 48: Using the Null Coalescing Operator to Write Stabler Applications
Chapter 49: Overloading Operators to Perform Custom Operations
Chapter 50: Using Enumerations to Represent Named Constants
Chapter 51: Creating and Using Namespaces
Chapter 58: Throwing Exceptions

What You Will Learn

  • Learn C#, Visual Studio, and object-oriented programming
  • Learn all the core C# 7 language syntax with hands-on working examples
  • Learn everything from basic variable assignments to complex multidimensional arrays
  • Go through practical examples of all the core C# 7 language features so that you can easily master them yourself
  • Use the C# programming language to work with code and data, which can be applied to other programming languages as well

Authors

Table of Contents

Chapter 1: Why C# and How to Download and Install the Visual Studio Community Edition
Chapter 6: String Interpolation and Updating Visual Studio
Chapter 7: Formatting Output Strings for More Professional Results
Chapter 8: Using Variables and Data Types
Chapter 10: Interacting with Users Through the Web Page
Chapter 11: Using Method Chaining to Write More Compact Code
Chapter 12: Reacting to a Single Condition with If/Else Blocks
Chapter 13: Making a Variable Grow by Adding 1
Chapter 14: Repeating Blocks of Code with While Loops
Chapter 15: Repeating Blocks of Code with For Loops
Chapter 16: Iterating Over Collections with foreach Loops
Chapter 17: Examining Multiple Variable Values with Switch Blocks
Chapter 18: Improving Input Processing with TryParse
Chapter 19: Replacing If/Else Blocks with the Ternary Operator
Chapter 20: Operators That Evaluate and Assign in Place
Chapter 21: Checking Two Conditions with the Logical AND Operator
Chapter 22: Checking Two Conditions with the Logical OR Operator
Chapter 23: Declaring, Setting, and Reading Arrays
Chapter 24: Iterating Over Arrays with foreach and for Loops
Chapter 25: Creating and Using a Simple Method
Chapter 26: Passing Arrays into Methods
Chapter 27: Reference Type and Value Type Variables
Chapter 28: Creating More Flexible Methods with the params Keyword
Chapter 29: Creating More Flexible Functions with the out Keyword
Chapter 30: Combining the ref and out Keywords to Write Flexible Functions
Chapter 32: Multidimensional Arrays
Chapter 33: Writing Easier Code with the Var and Dynamic Keywords
Chapter 34: Creating a Class with a Constructor and a Function
Chapter 35: Creating a Class with a Static Method
Chapter 36: Creating a Class with an Object Property
Chapter 37: Creating a Class with Static Fields, Functions, and Properties
Chapter 38: Centralizing Common Code with Inheritance
Chapter 39: Centralizing Default Code with Virtual Functions
Chapter 40: Model Concepts with Abstract Classes
Chapter 41: Using Custom Types as Return Types
Chapter 42: Using Lists to Operate on Data Efficiently
Chapter 43: Writing Less Code with Polymorphism
Chapter 44: Using Interfaces to Express Common Behaviors
Chapter 45: Iterating over Instances with Indexers
Chapter 46: Building Stabler Apps with Exception Handling
Chapter 47: Using Named and Optional Parameters
Chapter 48: Using the Null Coalescing Operator to Write Stabler Applications
Chapter 49: Overloading Operators to Perform Custom Operations
Chapter 50: Using Enumerations to Represent Named Constants
Chapter 51: Creating and Using Namespaces
Chapter 58: Throwing Exceptions

Book Details

ISBN 139781788296540
Paperback566 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition Book Cover
C# 7.1 and .NET Core 2.0 - Modern Cross-Platform Development - Third Edition
$ 31.99
$ 22.40
Computer Vision with Python 3 Book Cover
Computer Vision with Python 3
$ 35.99
$ 25.20
Mastering Unity 2017 Game Development with C# - Second Edition Book Cover
Mastering Unity 2017 Game Development with C# - Second Edition
$ 39.99
$ 28.00
Understanding Software Book Cover
Understanding Software
$ 23.99
$ 10.00
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 25.20
Learning ASP.NET Core 2.0 Book Cover
Learning ASP.NET Core 2.0
$ 35.99
$ 25.20