Join Gerry O'Brien for an in-depth discussion in this video Understanding C# class files, part of Learning C#.
Object-oriented programming is what's typically…used in most application development today.…Classes form the foundation of object-oriented programming.…You can consider a class to be analogous to…a blueprint for building a house, as an example.…The blueprint describes the characteristics of the house, and…the house is actually constructed or built from that blueprint.…When we think about a class, we create the definition of an object using class and…the keyword object is important because that's what we create in the application.…
Much like you can't live in the blueprint of house,…you can live in a house created from the blueprint.…So you live in an instance of a house created from that blueprint.…Within object-oriented programming, you can't assign values to a class.…So, you create an instance of a class in…your program and it's actually referred to as an object.…So, classes are considered a container for the attributes and…behaviors of the objects in the program that we're working with.…And we use classes to model real world objects…
- Installing C#
- Working with loops
- Controlling program flow
- Using variables
- Building functions
- Creating and instantiating classes
- Catching errors
- Managing resources with the garbage collector
- Building collections
Skill Level Beginner
1. Introducing C#
2. C# Language Elements
3. Object-Oriented Programming in C#
4. Structured Exception Handling
5. Resource Management in C#
6. Extensible Types in C#
7. Windows Apps in C#
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.