Artwork

Content provided by Leo Laporte. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Leo Laporte or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.
Player FM - Podcast App
Go offline with the Player FM app!

Coding 101 33: C# Class Recap

37:18
 
Share
 

Manage episode 438062049 series 2531916
Content provided by Leo Laporte. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Leo Laporte or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

The code for today's show is available as a ZIP for download.

Snubs Compiled

Nathan Follmer's link

Nathan's Fibonacci sequencer

Ivory Tower

Classes Recap

  • Classes
    • A "class" is a blue print that can be created multiple times.
    • When the blue print is used to create -- it creates an "OBJECT of that class
    • We can create as many objects of a class, and when we're done with it, it's removed from memory.
  • Abstract Classes
    • If classes are blueprints --- things that are ready to create --- to turn into objects, then "ABSTRACT Classes" are architectural designs.
    • They have the right shape of the thing to be created
    • They have much of the information needed to create the thing being created
    • But they are not complete
    • They cannot be instantiated - (They cannot not be "created" into an object)
    • The sole purpose of an abstract class is to act as a "base" for inheritance
    • They cannot be instantiated, but a derivative class, which inherits the abstract members from the abstract class, can be.
    • That derivative class must provide proper implementation for all the abstract members of the abstract class, then it CAN create an object. (It complete's the blueprints)
  • Interface
    • An Interface is like an Abstract class in that it can be used to define hierarchies for any sub-classes
    • Unlike an Abstract Class, an Interface has NO body. -- It's just the definitions of methods, with no body whatsoever.

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Louis Maresca

Get in Touch With Us!

Bandwidth for Coding 101 is provided by CacheFly.

  continue reading

109 episodes

Artwork
iconShare
 
Manage episode 438062049 series 2531916
Content provided by Leo Laporte. All podcast content including episodes, graphics, and podcast descriptions are uploaded and provided directly by Leo Laporte or their podcast platform partner. If you believe someone is using your copyrighted work without your permission, you can follow the process outlined here https://player.fm/legal.

The code for today's show is available as a ZIP for download.

Snubs Compiled

Nathan Follmer's link

Nathan's Fibonacci sequencer

Ivory Tower

Classes Recap

  • Classes
    • A "class" is a blue print that can be created multiple times.
    • When the blue print is used to create -- it creates an "OBJECT of that class
    • We can create as many objects of a class, and when we're done with it, it's removed from memory.
  • Abstract Classes
    • If classes are blueprints --- things that are ready to create --- to turn into objects, then "ABSTRACT Classes" are architectural designs.
    • They have the right shape of the thing to be created
    • They have much of the information needed to create the thing being created
    • But they are not complete
    • They cannot be instantiated - (They cannot not be "created" into an object)
    • The sole purpose of an abstract class is to act as a "base" for inheritance
    • They cannot be instantiated, but a derivative class, which inherits the abstract members from the abstract class, can be.
    • That derivative class must provide proper implementation for all the abstract members of the abstract class, then it CAN create an object. (It complete's the blueprints)
  • Interface
    • An Interface is like an Abstract class in that it can be used to define hierarchies for any sub-classes
    • Unlike an Abstract Class, an Interface has NO body. -- It's just the definitions of methods, with no body whatsoever.

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Louis Maresca

Get in Touch With Us!

Bandwidth for Coding 101 is provided by CacheFly.

  continue reading

109 episodes

All episodes

×
 
Loading …

Welcome to Player FM!

Player FM is scanning the web for high-quality podcasts for you to enjoy right now. It's the best podcast app and works on Android, iPhone, and the web. Signup to sync subscriptions across devices.

 

Quick Reference Guide