Join Anton Delsink for an in-depth discussion in this video Introduction, part of Object Oriented Programming with C#.
- [Instructor] In this chapter, we'll look…at the object-oriented design…within the dot NET framework itself.…We'll look at interfaces and inheritance.…And in particular, we'll look at the interface IEnumberable…which is used to help implement the foreach keyword,…and we'll look at the interface IDisposable…that helps with the implementation of the using keyword,…and we'll look at inheritance with the TextReader type.…I use this quite a lot for text processing,…especially as part of tight engineering,…it's helpful to be able to read…from arbitrary source of data then…yet treat the data in the same way.…
Regarding IEnumerable, you may remember that…for collections in dot NET, we have the keyword foreach…and we have the convenient syntax to be able…to say foreach, declare a variable like int n…in this case and for each n in the collection of numbers,…we'd be able to run our block of code…for each element in that collection.…Now how is this possible?…Well, thanks to the IEnumerable interface…and so the foreach keyword in the block of code…
- Abstract classes
- Processing text with StreamReader
- IEnumerable and yield return
- Windows Forms controls
- Windows Forms with and without the designer
- Adding, organizing, and testing forms
- Creating classes
Skill Level Intermediate
What you should know1m 10s
1. Theory vs. Practice
2. Examples from .NET
3. Examples from Windows UI
4. Examples from Board Games
5. Examples from the Web
Next steps1m 13s
- 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.