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

LinkedIn Learning

C# Essential Training: 1 Syntax and Object Oriented Programming

via LinkedIn Learning

Overview

Learn C# basics, including variables, strings, operations, classes, and methods, as well as the object-oriented features of this versatile programming language.

Syllabus

Introduction
  • Welcome
  • What you should know
  • Using the exercise files
1. What Is C#?
  • The history of C#
  • C#, the .NET Framework, and runtime
  • Installing Visual Studio
  • Creating a console application
2. Getting Started
  • Understanding C# syntax
  • Declaring variables
  • Using built-in data types
  • Everything is an object
  • Working with strings
  • Building strings with StringBuilder
  • String formatters
  • Parsing strings as numbers
  • Using mathematical operations
  • Working with constants and enumerators
  • Working with dates and times
3. Working with Classes
  • Creating a class
  • Namespaces
  • Auto-properties
  • Creating properties
  • Encapsulation with access modifiers
  • Constructors
  • Creating methods
  • Function bodied expressions
  • Static methods
  • Overriding ToString
  • Using the school class in a forms app
  • Creating a user interface
  • Accessing the school class
  • Working with user input
  • Testing ToString
4. Object-Oriented Features
  • Extending a class to create a new class
  • Working with subclassed objects
  • Abstract methods
  • Testing the abstract method
  • Virtual methods
  • Overriding virtual methods in subclasses
  • Preparing for interfaces
  • Adding an interface
  • Passing interfaces like types
  • Extension methods
Conclusion
  • Next steps

Taught by

Bruce Van Horn

Reviews

Start your review of C# Essential Training: 1 Syntax and Object Oriented Programming

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.