Skip to content

Latest commit

 

History

History
24 lines (16 loc) · 1.09 KB

File metadata and controls

24 lines (16 loc) · 1.09 KB

Readme - Code Samples for Chapter 4, Object-Oriented Programming with C#

Object-Oriented Programming with C# goes into details of object-oriented techniques with C# and demonstrates all the C# keywords for object- orientation. It also covers using inheritance with C# 9 records.

This chapter contains the following code samples:

  • VirtualMethods (declare base types using abstract, virtual, override)
  • AbstractClasses
  • InheritanceWithConstructors (inheritance with non-default constructors)
  • InheritanceWithRecords (inheritance with C# 9 records)
  • UsingInterfaces (declaring and using interfaces)
  • DefaultInterfaceMethods (versioning and traits)
  • GenericTypes
  • GenericTypesWithConstraints

For code comments and issues please check Professional C#'s GitHub Repository

Please check my blog csharp.christiannagel.com for additional information for topics covered in the book.

Thank you!

Updates with C# 10

See Updates with C# 10