Programming C# 6, (Part 4 of 12): Variables and Data Types
Interactive

Programming C# 6, (Part 4 of 12): Variables and Data Types

Biz Library
Updated Feb 04, 2020

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.


Lesson 1:

  • Introducing Variables
  • Naming Variables
  • Declaring Variables
  • The var Keyword
  • Demo: var Keyword
  • The var Keyword Cont.
  • Variable Lifetime and Scope
  • Demo: Variable Scope
  • Demo: Variable Scope Cont..

Lesson 2:

  • Introducing Data Types
  • Data Types
  • Data Types Cont.
  • Numeric Data Types
  • Choosing an Integer Type
  • Demo: Integer Data Types
  • BigInteger Data Type
  • Demo: BigInteger.

Lesson 3:

  • Floating-Point Data Types
  • Decimal Data Type
  • Demo: Floating-Point Types
  • Demo: Floating-Point Cont..

Lesson 4:

  • Char Data Type
  • ASCII Characters
  • Demo: Char Data Type
  • String Data Types
  • Demo: String Data Type
  • Demo: Escape Characters
  • Other Data Types and Objects
  • Demo: Boolean Data Type
  • Demo: Object Data Type.

Lesson 5:

  • Constants
  • Demo: Constants
  • Enumerations
  • Demo: Enumerations
  • Structures
  • Demo: Structures
  • The Complex Structure
  • Demo: Complex Structure.