Programming in C#: Creating and Using Types


Overview/Description
Target Audience
Prerequisites
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
In addition to classes, there are a number of C# types including structs and enums. In this course, you'll learn about creating types, including structs, enums and classes. You'll also learn about consuming types, including converting value and ref types. The course also explores encapsulation, implementing a class hierarchy, using reflection, and managing the object life cycle. Finally, you'll learn about manipulation of strings in C#.

Target Audience
Individuals with knowledge of object-oriented programming who want to learn the fundamentals of Microsoft Visual C#; individuals preparing for the exam 70-483 Programming in C#

Prerequisites
None

Expected Duration (hours)
2.4

Lesson Objectives

Programming in C#: Creating and Using Types

  • start the course
  • create, modify, and compile structs using fields, properties, and methods
  • create, modify, and debug enums
  • create and use classes
  • use constructors to instantiate classes
  • use optional and named parameters
  • use generic methods
  • convert value types
  • convert ref types
  • use the dynamic runtime
  • use IConvertible
  • use IFormattable
  • format strings
  • use auto-implemented properties
  • implement explicit interfaces
  • create interfaces
  • implement inheritance
  • create and implement indexers
  • use IEnumerable
  • use the Dispose method of the IDisposable interface to remove an object
  • implement the IComparable interface
  • use the System.Reflection namespace to provide a range of information about a type
  • create attribute classes to add to a code construct
  • use CodeDom to create code dynamically
  • guide the behavior of the .NET Framework's garbage collector
  • use the StringBuilder class to provide efficiencies when handling strings
  • manipulate strings using StringReader and StringWriter
  • use String methods
  • search for characters in a string and use the String.Remove method
  • format strings
  • using the CultureInfo object to format dates and numbers defined by the string.Format method
  • Course Number:
    wd_pgcs_a02_it_enus

    Expertise Level
    Intermediate