Programming C# 6, Part 04 of 12: Variables and Data Types
Interactive

Programming C# 6, Part 04 of 12: Variables and Data Types

LearnNow Online
Updated Aug 22, 2018

Course description

Variables and data types are a core feature of any programming language, and you'll learn about them in this course. You'll see how to name, declare, and initialize variables, as well as a way to let the compiler determine the appropriate data type, and why you may or may not want to do that. Then you'll learn about many of the built-in data types provided by C# and the .NET Framework, letting you manage just about any kind of data in memory. The course wraps up with a look at three advanced types: constants, enumerations, and structures.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

This is an entry level course. Some amount of programming experience will be helpful and speed up your learning but you can jump right into this course at any level.


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.

Video Runtime

112 Minutes

Time to complete

432 Minutes

Course Outline

Variables and Data Types

Variables (26:58)

  • Introduction (00:41)
  • Introducing Variables (01:41)
  • Naming Variables (05:17)
  • Declaring Variables (03:33)
  • The var Keyword (00:53)
  • Demo: var Keyword (03:28)
  • The var Keyword Cont. (03:06)
  • Variable Lifetime and Scope (01:07)
  • Demo: Variable Scope (03:59)
  • Demo: Variable Scope Cont. (02:41)
  • Summary (00:29)

Data Types (29:21)

  • Introduction (00:33)
  • Introducing Data Types (02:25)
  • Data Types (03:15)
  • Data Types Cont. (03:44)
  • Numeric Data Types (01:37)
  • Choosing an Integer Type (03:06)
  • Demo: Integer Data Types (09:17)
  • BigInteger Data Type (02:41)
  • Demo: BigInteger (02:02)
  • Summary (00:37)
A Closer Look at Data Types

Floating Point Data (11:51)

  • Introduction (00:25)
  • Floating-Point Data Types (01:31)
  • Decimal Data Type (01:09)
  • Demo: Floating-Point Types (05:53)
  • Demo: Floating-Point Cont. (02:25)
  • Summary (00:27)

Characters (23:05)

  • Introduction (00:42)
  • Char Data Type (00:29)
  • ASCII Characters (00:18)
  • Demo: Char Data Type (06:10)
  • String Data Types (00:22)
  • Demo: String Data Type (05:17)
  • Demo: Escape Characters (03:27)
  • Other Data Types and Objects (00:22)
  • Demo: Boolean Data Type (01:57)
  • Demo: Object Data Type (03:15)
  • Summary (00:43)

Constants and Enums (20:59)

  • Introduction (00:41)
  • Constants (00:42)
  • Demo: Contstants (02:49)
  • Enumerations (01:43)
  • Demo: Enumerations (04:43)
  • Structures (00:46)
  • Demo: Structures (04:44)
  • The Complex Structure (01:38)
  • Demo: Complex Structure (02:46)
  • Summary (00:24)
;