Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Microsoft

Implement classes, properties, and methods

Microsoft via Microsoft Learn

Overview

  • Module 1: This lesson describes building the LangtonsAnt project using classes and methods.

    After completing this module, you will be able to:

    • Create a console application
    • Create and Ant class and add properties and a constructor
    • Read user input in a loop
  • Module 2: This is a challenge project that reinforces the use of properties.
    • Create classes with methods and properties
    • Set and get information on an object using properties
    • Use a method to display results

Syllabus

  • Module 1: Module 1: Guided project classes methods properties
    • Introduction
    • Prepare
    • Exercise - Create application
    • Exercise - Implement classes
    • Exercise - Use classes
    • Knowledge check
    • Summary
  • Module 2: Module 2: Challenge project
    • Introduction
    • Prepare
    • Exercise - Create a console app
    • Exercise - Create a car object
    • Exercise - Define a car class
    • Knowledge check
    • Summary

Reviews

Start your review of Implement classes, properties, and methods

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.