Free
CourseLearn C#: Logic and Conditionals
Learn how to control the flow of your program using logic and conditionals.
This course includes
This course includes
Skill level
BeginnerTime to complete
Average based on combined completion rates — individual pacing in lessons, projects, and quizzes may vary2 hoursProjects
3Prerequisites
1 courseWe suggest you complete the following courses before you get started with Learn C#: Logic and Conditionals:- Intro to C#
About this course
Continue your C# learning journey with Learn C#: Logic and Conditionals. Learn how to control the flow of your program using logic and conditionals.
Skills you'll gain
Understand how to implement logic in your code
Use conditionals in your code
Syllabus
2 lessons • 3 projects • 2 quizzesCertificate of completion available with Plus or Pro
Earn a certificate of completion and showcase your accomplishment on your resume or LinkedIn.
Projects in this course
- practice Project
Space Expedition Boolean Adventure
Practice using boolean logic and comparison operators in C# to make informed decisions during your space expedition. - practice Project
Password Checker
Measure any password's strength with C# control flow. - practice Project
Choose Your Own Adventure
Use logic and conditional statements to build a text-based Choose Your Own Adventure Game!
Earn a certificate of completion
Show your network you've done the work by earning a certificate of completion for each course or path you finish.- Show proofReceive a certificate that demonstrates you've completed a course or path.
- Build a collectionThe more courses and paths you complete, the more certificates you collect.
- Share with your networkEasily add certificates of completion to your LinkedIn profile to share your accomplishments.
Reviews from learners
- The progress I have made since starting to use codecademy is immense! I can study for short periods or long periods at my own convenience - mostly late in the evenings.ChrisCodecademy Learner @ USA
- I felt like I learned months in a week. I love how Codecademy uses learning by practice and gives great challenges to help the learner to understand a new concept and subject.RodrigoCodecademy Learner @ UK
- Brilliant learning experience. Very interactive. Literally a game changer if you're learning on your own.John-AndrewCodecademy Learner @ USA
Our learners work at
Join over 50 million learners and start Learn C#: Logic and Conditionals today!
Looking for something else?
Related resources
- Article
Overview of Conditionals, Functions, and Scope
Get started on conditionals, functions, and scope, which are all universal programming concepts. - Article
Conditional Statements
Use this article as a reference sheet for JavaScript conditional statements. - Article
Ruby Glossary
Programming reference for Ruby
Related courses and paths
- Free course
Learn Java: Conditionals and Operators
Learn how to control the flow of execution using conditional statements.Beginner Friendly1 hour - Free course
Learn Go: Conditionals
Learn how to implement decision-making ability in your programs with Go conditionals.Beginner Friendly1 hour - Free course
Learn PHP: Conditionals and Logic
Write programs that handle complex decision-making using the boolean data type, conditionals, and comparison and logical operators.Beginner Friendly3 hours
Browse more topics
- C#529,998 learners enrolled
- Computer Science5,608,123 learners enrolled
- Code Foundations7,157,351 learners enrolled
- Web Development4,785,753 learners enrolled
- Data Science4,303,784 learners enrolled
- Python3,477,488 learners enrolled
- For Business3,173,641 learners enrolled
- JavaScript2,783,404 learners enrolled
- Data Analytics2,299,985 learners enrolled
Unlock additional features with a paid plan
Practice Projects
Guided projects that help you solidify the skills and concepts you're learning.Assessments
Auto-graded quizzes and immediate feedback help you reinforce your skills as you learn.Certificate of Completion
Earn a document to prove you've completed a course or path that you can share with your network.