
Learn the fundamentals of programming with Luke, a seasoned programmer, and master variables, conditions, loops, and functions to build your first C# application.
Introduce yourself in the q&a to share where you’re from and why you enrolled, helping us tailor a great learning experience for beginners.
Install Visual Studio Community 2017, choose required language workloads (C#, C++, Python, Unity, Linux), complete the installation, launch the IDE, and start a C# project.
Understand programming as telling a computer what to do through a sequence of executable instructions, then break applications into steps that take data from user, multiply, and print the result.
Create your first c# console application in Visual Studio to print hello world using the main method, Console.WriteLine, and a semicolon, then run with ctrl+f5.
Explore how a variable stores data in memory, accessed by name, and how its value can change, with data types defining allowed values like numbers or characters.
Explore data types and why defining a variable's type matters, covering integer, long, short, double, character, string, and boolean to prevent errors in code.
Learn how to define and use variables in c#, including int, double, character, string, and boolean; assign values, perform simple operations, and print results with Console.WriteLine, including one-line declarations.
Learn how to use C# comparison operators such as <, >, <=, >=, == and != to evaluate conditions and compare values.
Learn how boolean expressions yield true or false using negation (!), and (&&), and or (||) operators, and how to combine conditions in C#.
Learn to use the if statement to run code when a condition is true, using parentheses and braces. Explain else and else if for handling false cases with boolean expressions.
Define two numbers and explore a series of if statements, including equality, not equal, greater than, else if chains, and logical and/or, with string concatenation in C#.
learn how a switch statement tests a variable against multiple cases, uses break to exit, and optionally a default case when none match, with constant expressions matching the variable's type.
Learn to use switch statements in C# by defining a variable, mapping cases 1, 3, and 5 to 10, 30, and 50 with breaks and a default of 100.
Define and initialize arrays in C# with square brackets and curly braces, access elements by index, print results, and show that arrays work for any data type, numbers and strings.
Explore how loops work in C#, including while, do while, and for loops, with break statements to exit the cycle and techniques for iterating through arrays.
Demonstrate the C# for loop, including initialization, condition, and post-iteration increment, and show how to count and iterate over an array while printing values.
Explore the while loop in C#, including repeating work until a condition, incrementing temp, printing results, and iterating an array by index.
Demonstrate the do-while loop in C# by executing the body before the condition, showing it prints 11 after incrementing, and contrast with a pre-check while loop.
Understand that a function is a group of instructions that takes input and returns output, illustrated by a coffee machine analogy and computing x squared.
Define and call functions in C# using public static, return values, and parameters; explore square, boolean checks, and console output in practical examples.
Use functions to achieve reusability by invoking the same function multiple times. They offer abstraction, so you use the function by its name, arguments, and returns without knowing its workings.
Build your first C# console calculator by reading two numbers from user input, parsing strings to integers, and displaying the results of addition, subtraction, division, and multiplication.
Learn to work with strings in C# using built-in methods. Discover how to replace characters with the replace function and leverage practical string operations without writing your own functions.
Explore string manipulation in C# by converting to upper case, or lower case, testing containment with contains, locating characters with IndexOf and LastIndexOf, and replacing text with strings or characters.
Learn practical string manipulation in C# with remove by start index and length, and substring variations. Use starts with, ends with, split, and trim to clean and parse text.
Learn how to work with files in C#, including open, create, write, and read operations, enabling simple text editor style features.
Learn to create and manipulate files in C# using System.IO, including handling paths and escape sequences. Write files to the executable’s folder and manage permissions for file creation.
Learn how to organize a C# app by creating directories, storing files in a settings folder, and using file existence checks to prevent overwriting.
Learn to read C# file contents by reading all lines, all text, or all bytes; print results and save after replacing content, creating the file if needed.
Learn to read, replace, and save text using C# file methods such as WriteAllText, WriteAllLines, and AppendAllText, including behavior when files exist or not.
Create and use a C# file info object to inspect properties such as directory, extension, read/write status, last access time, last write time, and file length.
Do you want to start with programming?
Then this course is designed for you. In this course, you will create your first application using the C# programming language. You will also learn the important concepts of programming. After finishing the course you should be able to create simple applications and have a strong foundation in programming. I try to explain how all the important concepts work and how you can use them in your C# code.
I know you don't have time for long and boring lectures. That is why I try to be as engaging as possible. I am also trying to go directly to the point.
Practice opportunities:
Throughout the course are 4 tests on which you can practice your knowledge. Also during the "CODE" videos, I am trying to keep you engaged by asking questions like "What will be the result of this?".
What will I learn?
what is program
what is programming
variables
data types
if and switch statements
arrays
loops (for, while, do-while)
functions
Who should take this course?
Anyone who wants to learn programming fundamentals
Anyone who wants to start programming in C#