- One of the things that's really great about computers,…is they don't ever get tired of doing the same…boring tasks over and over and over again.…But in order to accomplish that you need some…syntactic way of telling the computer…to do something, over and over and over again.…And we call those loops.…In C sharp they are effectively…three different kinds of loops you can use.…We will explore each of them.…So in Solution Explore, let's create a new class.…
I'm going to create this inside of…the essential training project.…I'll right click, I'll select add, I'll select class,…and I'll call my class programming loops.…Before we get into programming loops,…I think I'll go ahead and close a few…of these files that I am not using.…I'll close the flow control example,…and I'll go ahead and close the awesomesauce tab group…over here, because we're not going to need it anytime soon.…
The simplest kind of loop, or perhaps the most…common kind of loop, is the forloop.…So let's take a look at how forloop works in C-sharp.…
AuthorBruce Van Horn
- Writing unit tests in C#
- Working with simple and multidimensional arrays
- Managing ordered and unordered data with lists
- Evaluating conditions with if-else statements
- Using OR, AND, and NOT operators
- Building loops
- Debugging and handling exceptions
- Creating the final build of your C# project
Skill Level Beginner
C# Object-Oriented Programming Tips and Trickswith Jesse Freeman58m 39s Intermediate
1. Unit Testing and Test-Driven Development
2. Arrays and Collections
3. Flow Control
4. Exception Handling
5. Getting to Production
Next steps1m 57s
- 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.