Learn your way! Get started

Programming C# 6, Part 05: Adv Data Types and Operators

with expert Don Kiely


Watch trailer

Programming C# 6, Part 05: Adv Data Types and Operators Trailer

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 2/11/2016
Level Level Intermediate
Runtime Runtime 2h 25m
Closed captioning Closed captioning Included
Transcript Transcript Included
eBooks / courseware eBooks / courseware Included
Hands-on labs Hands-on labs Included
Sample code Sample code Included
Exams Exams Included


Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Data types and variables are a fundamental part of learning to program, and C# provides a robust set of language features to work with variables and data in memory. In this course, you’ll learn about many variable data types, as well as how to convert between them and how to handle null values. You’ll also learn about altering and evaluating data with operators, from simple mathematical functions like addition and subtraction to logical and other advanced operators.

Prerequisites

This course builds upon: Programming C# 6: Getting started, Your First App, Projects and Syntax and Variables and Data Types.

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
.NET Framework C# Development

Meet the expert

Don Kiely Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.


Course outline



Types and Operators

Converting Data Types (19:46)
  • Introduction (01:09)
  • Converting Data Types (00:59)
  • Demo: Data Conversion (03:32)
  • Widening Conversions (02:28)
  • Using a Cast Operator (03:06)
  • Demo: Widening Conversions (04:47)
  • Demo: Convert Decimal to String (03:07)
  • Summary (00:34)
Using Convert Or Parse (13:22)
  • Introduction (00:19)
  • System.Convert Class Methods (00:50)
  • Demo: Convert (05:38)
  • Demo: Parsing (06:12)
  • Summary (00:21)
Value and Reference Types (09:13)
  • Introduction (00:34)
  • Value Types & Reference Types (03:49)
  • Demo: Value & Reference Types (04:20)
  • Summary (00:28)
Operators (22:27)
  • Introduction (00:37)
  • Operators (00:52)
  • Arithmetic Operators (00:55)
  • Demo: Arithmetic Operators (03:57)
  • Demo: Arithmetic Cont. (05:55)
  • Demo: String Operators (02:09)
  • Binary Assignment Operators (02:06)
  • Demo: Binary Assignment (01:49)
  • Comparison Operators (01:25)
  • Demo: Comparison Operators (02:12)
  • Summary (00:26)

Precedence and Nulls

Logical Operators & Precedence (22:22)
  • Introduction (00:32)
  • Logical Operators (02:03)
  • Logical Operators Cont. (02:16)
  • Demo: Logical Operators (04:51)
  • Type Operators (00:49)
  • Demo: Type Operators (03:14)
  • Operator Precedence (05:26)
  • Demo: Operator Precedence (02:42)
  • Summary (00:26)
Nulls and Default Values (15:19)
  • Introduction (01:02)
  • Default Values (01:02)
  • Demo: Default Values (03:02)
  • Avoiding Missing Values (03:12)
  • Demo: Null Handling (01:06)
  • Reference Types Default Value (00:47)
  • Demo: Reference Type Defaults (03:16)
  • States of a String (01:16)
  • Summary (00:32)
Null Handling Operators (22:23)
  • Introduction (00:37)
  • Demo: Null Strings (04:20)
  • Demo: Null Coalescing (04:20)
  • Demo: Null Conditional (06:05)
  • Demo: Null Conditional Cont. (04:01)
  • Demo: Null Conditional Indexer (02:37)
  • Summary (00:19)
Nullable Data Types (20:47)
  • Introduction (01:21)
  • Nullable Data Types (01:01)
  • Demo: Nullable Data Types (06:10)
  • Demo: Null Operators (05:18)
  • Demo: Null Operator Effects (03:59)
  • Demo: Nullable Booleans (02:27)
  • Summary (00:28)