Join Gerry O'Brien for an in-depth discussion in this video Understanding program flow, part of Learning C# (2014).
Within any programming language the flow of code or the flow…of execution within the code usually works from top to bottom.…If you take a look at the way the code executes within a method…or a function within a program, the first line of code starts the execution.…And the code will execute each subsequent line until it reaches…the end of that method or the end of the program itself.…That's the typical way that most applications will function with the…exception of some kind of a change in that program flow.…
And when we refer to a change in program flow that means that we…are causing our code to execute in a different branch or a different location.…So, program flow is very important because a lot of the times in your application…your program logic won't necessarily work from…top to bottom within the code structure itself.…So, we have various program flow elements that allow us alter the direction…or alter the program flow within the code so the execution path will change.…Let's take a look at some of the program…
- 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.