Data Types

Learning Objectives

After completing this chapter, you should be able to do the following:

  1. Explain the difference between static and dynamic typing
  2. Write comments in C#
  3. Name the numeric types in C#
  4. Declare variables in C#
  5. Distinguish between value and reference types
  6. Parse data types
  7. Follow proper C# naming conventions

Key Terminology

Throughout this lesson, you will see lots of new vocabulary. Here is everything that you should make note of on the pages the term first appears:

Data Types

  1. dynamically typed
  2. statically typed
  3. type system
  4. primitive type
  5. class
  6. boxing
  7. unboxing

Some C# Practice

  1. using
  2. namespace
  3. assembly
  4. Console.WriteLine
  5. Console.ReadLine
  6. comments

Strings, Characters, and Arrays

  1. char
  2. array

Objects Primer

  1. object
  2. method
  3. static
  4. public