Coding 101 32: C# Abstract Classes and Interfaces
Hosts: Fr. Robert Ballecer, SJ and Shannon Morse
Snubs Compiled
No Viewer Submitted Code, however we did get some useful tips for C# from our community:
Cosmic Ray links us to a C# Fundamentals series that's super useful for newbies!
Nathan says learning the syntax of the languages is great, but you need to know how to problem solve!
Kelvin links us to Mono, for Mac users
Joe gives us info on how to get C# running via notepad!
Ivory Tower
Interfaces, Classes, & Abstract Classes
Remember from last week that "Classes" are blueprints
- They are a collection of Methods, variables, properties and events
- Classes DO NOT EXIST until they are created (i.e. the difference between having a blueprint and the building built from those blueprints)
- When an instance of a class is "created" -- and "object" is born
Declaring a Class
public class C101
{
//Fields, methods, properties, events
// everything in the "blue print" goes in here
}
Creating an OBJECT of a class:
Comments