- English
- ePUB (mobile friendly)
- Available on iOS & Android
C# 7.0 All-in-One For Dummies
About This Book
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.
Frequently asked questions
Information
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
- Introducing the Toolbox Trick
- 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
- Performing Arithmetic
- Performing Logical Comparisons â Is That Logical?
- Matching Expression Types at TrackDownAMate.com
- Chapter 5: Getting into the Program Flow
- Branching Out with if and switch
- Here We Go Loop-the-Loop
- Looping a Specified Number of Times with for
- Nesting Loops
- Donât goto Pieces
- Chapter 6: Lining Up Your Ducks with Collections
- The C# Array
- Processing Arrays by Using foreach
- Sorting Arrays of Data
- Using var for Arrays
- Loosening Up with C# Collections
- Understanding Collection Syntax
- Using Lists
- Using Dictionaries
- Array and Collection Initializers
- Using Sets
- On Not Using Old-Fashioned Collections
- Chapter 7: Stepping through Collections
- Iterating through a Directory of Files
- Iterating foreach Collections: Iterators
- Accessing Collections the Array Way: Indexers
- Looping Around the Iterator Block
- Chapter 8: Buying Generic
- Writing a New Prescription: Generics
- Classy Generics: Writing Your Own
- Revising Generics
- Chapter 9: Some Exceptional Exceptions
- Using an Exceptional Error-Reporting Mechanism
- Throwing Exceptions Yourself
- Knowing What Exceptions Are For
- Can I Get an Exceptional Example?
- Assigning Multiple catch Blocks
- Planning Your Exception-Handling Strategy
- Grabbing Your Last Chance to Catch an Exception
- Throwing Expressions
- Chapter 10: Creating Lists of Items with Enumerations
- Seeing Enumerations in the Real World
- Working with Enumerations
- Creating Enumerated Flags
- Defining Enumerated Switches
Creating Your First C# Console Application
Getting a Handle on Computer Languages, C#, and .NET
Table of contents
- Cover
- Title Page
- Table of Contents
- Introduction
- Book 1: The Basics of C# Programming
- Book 2: Object-Oriented C# Programming
- 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