Book description
Sharpen your knowledge of C#C# know-how is a must if you want to be a professional Microsoft developer. It's also good to know a little C# if you're building tools for the web, mobile apps, or other development tasks. C# 7.0 All-in-One For Dummies offers a deep dive into C# for coders still learning the nuances of the valuable programming language. Pop it open to get an intro into coding with C#, how to design secure apps and databases, and even pointers on building web and mobile apps with C#.
C# remains one of the most in-demand programming language skills. The language regularly ranks in the top five among "most in-demand" languages, typically along with Java/JavaScript, C++, and Python. A December 2016 ZDNet article noted 'If your employer is a Microsoft developer, you better know C#." Lucky for you, this approachable, all-in-one guide is here to help you do just that—without ever breaking a sweat!
Includes coverage of the latest changes to C#
- Shows you exactly what the language can (and can't) do
- Presents familiar tasks that you can accomplish with C#
- Provides insight into developing applications that provide protection against hackers
If you have a basic understanding of coding and need to learn C#—or need a reference on the language in order to launch or further your career—look no further.
Table of contents
-
- Cover
- Introduction
-
Book 1: The Basics of C# Programming
- Chapter 1: Creating Your First C# Console Application
-
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 the Command Line
- 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
-
Book 2: Object-Oriented C# Programming
- Chapter 1: Object-Oriented Programming — What’s It All About?
- Chapter 2: Showing Some Class
- Chapter 3: We Have Our Methods
- Chapter 4: Let Me Say This about this
- Chapter 5: Holding a Class Responsible
- Chapter 6: Inheritance: Is That All I Get?
- Chapter 7: Poly-what-ism?
-
Chapter 8: 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 9: Delegating Those Important Events
- Chapter 10: Can I Use Your Namespace in the Library?
- Chapter 11: Improving Productivity with Named and Optional Parameters
- Chapter 12: Interacting with Structures
- 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
- About the Author
- Advertisement Page
- Connect with Dummies
- End User License Agreement
Product information
- Title: C# 7.0 All-in-One For Dummies
- Author(s):
- Release date: December 2017
- Publisher(s): For Dummies
- ISBN: 9781119428114
You might also like
book
C# 10.0 All-in-One For Dummies
Look sharp—learn or refresh your C# skills with the latest version C# is one of the …
book
C# Programming for Absolute Beginners
Get started using the C# programming language. Based on the author’s 15 years of experience teaching …
book
C# Programming Cookbook
Quick fixes to your common C# programming problems, with a focus on C# 6.0 About This …
book
C# 8.0 Pocket Reference
When you need answers about using C# 8.0, this tightly focused and practical book tells you …