Join Anton Delsink for an in-depth discussion in this video Update .GetFeed for likes and shares, part of Object Oriented Programming with C#.
- [Instructor] Let's take one more look at our use cases.…We are able to have a user create a post.…A user can follow another user, we can get the feed,…a user can like a post, and a user can share a post.…We now need to go to the feed method…and make it include the likes and shares…that we've previously implemented.…So we'll add one more test method,…bottom of the file,…test number five,…now go back up to test number four,…and copy and paste all of the code about the users,…and the posts, and those being published,…and those being liked and shared.…
So on my screen from line 81 to 101, control+C,…coming down to test 005, paste.…So, let's just think what we're trying to accomplish…when I say "get feed", I want a feed that includes…liked content, shared content,…and of course the original posts.…So user one will be the user…for whom we want to obtain a feed.…User one will follow user two, three, four, and five.…We'll have two posts of content,…published by user two and three,…but this time, instead of user one liking content,…
- 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
C# Object-Oriented Programming Tips and Trickswith Jesse Freeman58m 39s 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.