
Learn to set up Visual Studio Community Edition, create a console application, and explore the editor, main method, and basic code structure, including comments and compilation basics.
Write a C# console program that reads the room's length and width, uses a constant price per square foot to calculate area and total carpeting cost, and displays the result.
Demonstrates switch statements as exact-match branching with cases, default, and break to prevent fall-through in C#. Illustrates switching on year with cases 1–4 and a default for invalid input.
Explore while, for, and do while loops, their definite and indefinite forms, and how the counter control variable, the condition, and the alter statement shape termination with practical examples.
Explore do while loops and compare them with while and for loops, showing how do while guarantees at least one execution and reduces code duplicity.
Create a console app that sums numbers from 1 to 50 using a for loop and a running total, then print the result and verify with smaller examples.
Explore using for and foreach loops with arrays to print and update student grades, apply extra credit, and use array length to handle any number of elements.
Learn three built-in array methods: binary search, sort, and reverse, compare binary and sequential search, and understand when sorted data enables faster searches.
Explore how the main method starts a C# program and how methods group code into reusable blocks, like console writes and parse, enabling a single method call to calculate averages.
Discover how methods group code into actions, enable reuse, and return values in C# with public or private access, parameters, and examples like add and parse.
Explore optional parameters and named arguments in C#, learn to define defaults, override with explicit values, and use named arguments to control parameter order.
Explore methods in c#: prompt a number, compute its square and cube, with the cube method reuse of the square method and results returned to main for printing.
Explore constructors in C#, learn how to enforce required information via constructor parameters, use this to assign fields, and implement constructor overloading and initializer calls.
What is Microsoft Visual C#?
C# (pronounced "C sharp") is a programming language that is designed for building a variety of applications that run on the .NET Framework. C# is simple, powerful, type-safe, and object-oriented. The many innovations in C# enable rapid application development while retaining the expressiveness and elegance of C-style languages.
What is this course all about?
This course is designed for people with NO prior programming experience. You will learn how to write computer programs using Microsoft Visual C#. The topics in this course are handpicked to build a strong foundation for all new programmers.
What makes this course better than the others?
This course is better than others due to the design of the lectures. Complex topics are explained in a way that anyone can understand. The instructor began as a self-taught programmer, and knows where new programmers make mistakes and get confused. All the topics in this course have the instructor’s personal tips and tricks that helped him to succeed.
Where should I go after I complete this course?
This course provides a foundation that allows you to continue your programming education in almost any area. You can stick with desktop development and learn how to build rich and immersive applications using technologies like WPF. You can enter the world of mobile development to build Android, iOS, and Windows applications using Xamarin with C#. If game development is your area of interest, you can build both desktop and mobile games using Unity with C#. If you are tired of software development, web development is also an option using ASP.NET.
Can I take the experience from this course to learn new programming languages?
Yes you can! C# is a "C" based programming language. All programming languages in the same family are extremely similar and easy to learn after learning C#. Some examples of "C" based languages are:
Future courses from this instructor.
Stay tuned for future courses in: