C# Loops for Beginners
4.3 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
42 students enrolled
Wishlisted Wishlist

Please confirm that you want to add C# Loops for Beginners to your Wishlist.

Add to Wishlist

C# Loops for Beginners

Master The Fundamentals of Loops In C#
4.3 (3 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
42 students enrolled
Created by Tom O.
Last updated 4/2017
English
Current price: $10 Original price: $20 Discount: 50% off
5 hours left at this price!
30-Day Money-Back Guarantee
Includes:
  • 2 hours on-demand video
  • 1 Article
  • 22 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I Learn?
  • understand the logic of for loops
  • understand how to create and run for loops
  • understand the logic of while loops
  • understand how to create and run while loops
  • understand the logic of foreach loops
  • understand how to create and run for each loops
  • understand the logic of do while loops
  • understand how to create and run do while loops
  • understand several concepts related to loops in general
View Curriculum
Requirements
  • You should be familiar with simple console programs
  • You should have Visual Studio installed
Description

To be a real programmer, you must know loops. This course gives an introduction to the most common loops: for, while, do while and foreach loops. Loops allow us to perform an action repeatedly without having to write a great amount of code. The concepts presented in this course carry over to languages like Java. Each lesson is an HD video with heavily commented code. I explain both the "why" and "how" of loops. You can also access a PDF version of the code under lesson resources. It's best if you have already worked with C# to the extent of having made simple C# console programs. The code presented deals only with console programs, not graphical windows. Thanks for reading, friends, and let's dive right in!

Who is the target audience?
  • Take this course if you want to deepen your understanding of loops
  • Do not take this course if you already know loops
Students Who Viewed This Course Also Viewed
Curriculum For This Course
24 Lectures
01:47:43
+
Introduction
1 Lecture 00:53

Lesson Objective: Understand what the course is about

Preview 00:53
+
For Loops
7 Lectures 37:17

Lesson Objective: Create a for loop to print 1,2,3,4,5

Preview 06:13

Lesson Objective: Create a for loop to print 5,4,3,2,1

Printing 5,4,3,2,1
04:40

Lesson Objective: Create a loop to print 11,9,7,5,3,1

Printing 11,9,7,5,3,1
02:54

Lesson Objective: Create a loop to print the cubes of 3,2,1

Printing the cubes of 3,2,1
04:26

Lesson Objective: Fill an array and print the values with a for loop

Setting and printing the values of an array
07:35

Lesson Objective: Print the word "live" in reversed order as "evil"

Reverse the word "live" to get "evil"
07:50

Lesson Objectives: Summarize the uses of for loops

Summary of for loops
03:39
+
While Loops
6 Lectures 25:32

Lesson Objective: Create and run a while loop to print 1,2,3,4,5

Printing 1,2,3,4,5
05:06

Lesson Objective: Use a while loop to print 5,4,3,2,1

Preview 03:03

Lesson Objective: Create a while loop to print 12,9,6,3,0

Printing 12,9,6,3,0
03:19

Lesson Objective: Create a loop to print the entries inside an array

Printing the entries of an array
04:44

Lesson Objective: Create a loop that can collect input until a user wants to stop

Collecting string input until a user quits
05:43

Lesson Objective: Summarize while loops

While loops summary
03:37
+
ForEach Loops
5 Lectures 23:41

Lesson Objective: Use a foreach loop to check the characters in a string

Going over the characters in a string
05:07

Lesson Objectives: Understand how to check array entries with foreach loops

Going over the entries in an array
05:11

Lesson Objective: Print the entries inside an array of arrays

Printing the entries in a jagged array
06:26

Lesson Objectives: Add up the values in a 2 by 3 array

Summing double array entries
05:09

Lesson Objective: Summary of foreach loops

Summary of foreach loops
01:48
+
Misc. Topics
4 Lectures 20:07

Lesson Objective: Print 1,2,3,4,5 with a do/while loop

Printing 1,2,3,4,5 with a Do/While loop
03:36

Lesson Objective: Fill and print an array with for/foreach loops

Setting array values with for loops
05:06

Lesson Objective: Learn how to modify a loop index variable and still make it work with arrays

Changing the index when working with arrays
04:50

Lesson Objective: Write code to display an array in reverse order  with a for loop

Printing an array backwards
06:35
+
Conclusion
1 Lecture 00:13
Next possible steps
00:13
About the Instructor
Tom O.
4.4 Average rating
1,649 Reviews
17,722 Students
19 Courses
Web, Math, Stats., and Physics Expert
  • I have nine years experience as a teacher of mathematics, physics, statistics, and programming. I worked for five years as a database programmer using various technologies such as .NET, Clipper, SQL, SQL Server, SAS, Excel, and others. I'm the publisher of one of the most successful programming courses on udemy, called "Learn C# With Visual Studio 2013". Currently, I work as a mathematics and computer science teacher at a college in NY.
  • Related Education:
  • Master of Science in Applied Statistical Computing, Kennesaw State University
  • Bachelor of Arts, Pure Mathematics, Queens College
  • Associates of Science in Computer Programming
  • Creator of more than 1620 math, physics, statistics and programming videos
  • Programmer of more than 500 educational simulations