
Find, download, and install Visual Studio 2019 Community Edition for Windows, select the .NET desktop development workload, and run the Visual Studio Installer.
Create your first C# program using Visual Studio Community 2019 on Windows 10. Build a console app with a class and a static void main entry point, then compile solution.
Learn to print output in a C# console app by using the System namespace, the Console class, and WriteLine, with hello world and semicolon rules in Visual Studio 2019.
Understand how the period navigates from a namespace to a class and its main method, using System.Console.WriteLine with a string argument in C# through Visual Studio.
Learn to make your C# program beep by calling System.Console.Beep. Appreciate sequential execution in Main and how to run the code, adjusting beep duration and frequency.
Create and configure a C# console app in Visual Studio, define a string variable, read user input with Console.ReadLine, and echo the value back using Console.WriteLine.
Learn to process string input in C# by reading with Console.ReadLine, converting to upper and lower case using ToUpper and ToLower, and printing results with Console.WriteLine.
Learn how to declare and initialize double variables in C#, perform addition and subtraction, and display results with string interpolation in a console app.
Showcase division and multiplication in C# with Visual Studio Community 2019, using string interpolation to display x and y and their computed results via a binary operator.
Learn to use the decimal data type for money, apply the m suffix for literals, and format output as currency or percent with string interpolation.
Simplify C# code by using the static keyword in the usings block, reducing repeated console calls and preserving the same output in Visual Studio.
Read user input as strings, convert it to double with double.Parse, compute 110 percent using multiplication, and display the result with string interpolation.
Investigate how non-numeric input breaks the parse method and causes a format exception, overflow exception, or an unhandled exception, highlighting that exceptions are exceptional situations in code.
Explore method chaining in C# by chaining read line with to upper and write line, then use string interpolation to embed the uppercased input in the output.
Describe modeling an object with data types in C# using Visual Studio 2019. Learn to use boolean, decimal with m suffix, string, and double, and print string interpolation and newlines.
Learn how C# comparison operators evaluate integer values to boolean results, using greater than, less than, equal, not equal, and their greater/equal and less/equal forms, with hands-on debugging.
Explore the logical and operator in C# by evaluating boolean expressions. Learn that both sides must be true for the overall result and how short-circuiting optimizes evaluation.
Explore the logical or operator in C# and how it returns true when one side or the other is true, and false only when both sides are false.
Create and test simple if-else decisions in C# by evaluating a greater-than-three condition, printing true or false, and handling the false case with else.
Discover simple if statements with two variables in C# using Visual Studio Community 2019, comparing x and y with greater than or equal to and displaying interpolated messages.
Refactor C# code with variables and string interpolation, replacing literals with a string object for flexible searches. Ensure reliable matching by converting to a consistent case and using to lower.
Demonstrates using if/else with a bool method and reading input to replace hardcoded strings with user input, enabling a case-insensitive substring search by converting to lowercase.
Learn how to safely convert user input to numbers with double.TryParse, using the out parameter and boolean success flag to prevent crashes and handle invalid input.
Explore unary operators in C#, using a sample int x to demonstrate post- and pre-increment and decrement, and observe WriteLine output via string interpolation reflects values before and after changes.
Explore subtleties of unary operators in c#: pre- and post-increment and decrement, their evaluation order in string interpolation, and how line placement affects displayed values.
Demonstrates printing numbers with a C# for loop, initializing int i to 1, looping while i <= 5 with i++, and extending to 100 by adjusting bounds.
Explore debugging a simple for loop in c# with the debugger, breakpoints, and step-by-step execution from initialization to i <= 3, showing console output of i.
Explore using a for loop to print five to one, starting at five and decrementing by one, and apply the same pattern to print ten down to five.
Explore the pad left method in C# by turning numbers into strings, left-padding them with spaces to a specified total length, and using debugging to count spaces and verify results.
Demonstrate printing 6, 3, and 0 with a for loop in C#, starting at 6 and decreasing by 3 each iteration, with padding and string interpolation for a single line.
Demonstrates the substring method in c#, showing start index and length to extract characters from a string, indexing from zero, and printing each letter on its own line.
Learn to iterate a string with a for loop, access characters by index, and grab substrings to print specific ranges such as the penultimate index.
Explore reading a string, iterating with a for loop over its length property, and printing each character on its own line using substring in C# with Visual Studio Community 2019.
Shift the for loop index by keeping i from 0 to 2 and printing i minus 1 to generate -1, 0, 1.
Learn to implement a while loop in C# by iterating the string hey, using a for-like flow with external declaration, a condition, and an increment.
Explore building a C# console project in Visual Studio 2019 that reads numeric input to display a square, handles invalid input with an error, and supports clear and quit commands.
Learn to create a C# console program with a while loop and break, reading input, using try parse and if/else to handle invalid data, then display a computed square.
Implement a custom clear method that clears the console below the prompt. Use for and if with cursor top and set cursor position to manage output and try parse input.
Learn to debug a C# console program by stepping through code and pinning helper windows. Clarify the flow of while, for, and if logic, including cursor position and window management.
Learn how copying by value works in c# with numeric types like integers or doubles, showing that assigning x to y creates an independent copy and that z copies y.
Explore how reference variables share a single memory address by using s and p to refer to the same data, revealing two names for one memory location.
Explain how an array stores values of a data type, access elements by index, check length, and handle index out of bounds errors with examples in C#.
Arrays are reference types in which names like a, r, and p point to the same memory block, making changes visible across all aliases and avoiding large-value copies.
Demonstrate arrays and for loops in C#, using zero-based indexing and the length property to read values like 5, 10, and -8, then print the array in reverse.
Learn to create static void methods like say hello and say hello to, call them from main as the program entry point, and observe the execution flow with debugging.
Learn to create a static add method that returns a double in C# with parameters double x and double y, return their sum, and display the result from main.
Debug a C# program that passes doubles to a method returning double, illustrating the order of execution and how using variables instead of hardcoded values yields eleven point two.
Read A and B from user input, convert to doubles, pass them to the add method, and print the sum; highlight that invalid input can crash the program.
Describe implementing a C# method that uses double.TryParse with out parameters to convert strings to doubles, returning 0 on failure and summing both parsed values when successful.
Implement a try multiply method that parses string inputs to doubles, multiplies them, and returns 0 on failure, then call it from main to display the product in triad example.
Explore how the debugging environment reveals variables and return values as you step through methods, using the locals window to trace a, b, sum, and product in a double-based calculation.
Explore passing arrays into a method in C#, showing the array reference is shared with the caller and modifications propagate back, unlike simple types passed by value that remain unchanged.
Examine how in C# strings are immutable and how plus-equals creates new string objects, then learn how StringBuilder.Append avoids extra allocations for efficient concatenation.
Investigate passing strings in depth by showing how a string parameter can be reassigned inside a method, yet the original string prints outside, with memory addresses illustrating why.
Explore a wage summary project by inputting a date to show the long date format, compute max daily hours and earnings, and differentiate weekdays and weekends with error handling.
Read user input as a string, parse to a DateTime with TryParse using an out parameter, and display the day of week by switching on DateTime.DayOfWeek with ToLongDateString.
In Visual Studio 2019, create a summarizeWeek method to compute max time and hourly rate, then return a formatted string of the after-tax wage.
This lecture demonstrates adding weekend logic to a wage summary project in C# by handling Saturday and Sunday, computing earnings with weekend rates, max time, and tax effects.
Build a sum and average calculator by prompting for multiple values, converting input to numbers, handling invalid input by resetting to zero, and displaying the final sum and average.
It guides building a sum/average calculator step 2 by prompting for the number of values, reading input, converting with try parse, summing, and using a string builder for output.
Learn to build a sum/average calculator in C# by looping to collect multiple inputs using a string builder, managing cursor positions, parsing input, and cumulatively updating the sum.
Learn to implement a sum and average calculator in C# with Visual Studio, building input strings with a string builder, inserting commas, and displaying results with lines and debugging steps.
Learn to build a sum/average calculator in C# with Visual Studio. Follow a guided debugging walkthrough that covers input, parsing, a string builder, looping, and displaying results.
Build a Windows Forms calculator using text boxes, buttons, and a numeric up-down control. Handle invalid input with a message box, perform calculations, and adjust rounding and memory clearing.
Create a Windows Forms project in Visual Studio 2019, then use the toolbox to add a text box and buttons, adjust fonts, sizes, and names via the properties panel.
Layout a user interface in Visual Studio by dragging labels and a numeric up-down control, aligning them, resizing fonts, and using the properties panel to set names and clear text.
Learn how to add IronPython to a C# WinForms project in Visual Studio 2019 by installing the IronPython NuGet package, adding references, and updating using statements for Python integration.
Learn to host Python in C# using a script engine, execute text box input as expressions, and observe dynamic typing switch between integer and double at runtime.
Display calculation results by updating the label's text with formatted strings. Manage output memory, use plus equals for accumulation, and debug common input errors in a simple C# calculator UI.
Wrap code in a try-catch to prevent crashes when input isn't numeric. Display exception messages via a message box and refine catch handling in C# with Visual Studio 2019.
This lecture shows converting a numeric updown value to an integer and rounding with Math.Round to a chosen digit count. It introduces static variables to persist state across clicks.
Learn to fix type errors by casting inputs to double, enabling calculations with integers and decimals, and explore data conversion and casting in C#.
Learn to build and test a clear memory button in C# with Visual Studio Community 2019, adding an event handler to reset the memory label and restart counting with i=1.
Demonstrates saving the label text to a file via a save file dialog, with default extension and text file filter, using show dialog in a C# Visual Studio project.
Learn to save text from a memory label to a file in C# using Visual Studio 2019, with using directives, a save file dialog, and handling dialog results and exceptions.
Learn to launch external apps via System.Diagnostics.Process.Start in a C# program, handle file dialogs and arguments, and manage errors with try-catch and message boxes.
Added 29 Multiple-Choice Quiz Questions (update 5/15/2024)
## Unlock the Power of C#: Master C# Programming from Scratch to Advanced Projects
### Transform Your Career with Comprehensive C# Training
Are you ready to become a proficient C# programmer? Whether you're a complete beginner or looking to enhance your skills, this course will take you from basic concepts to advanced programming techniques, enabling you to build robust applications and tackle real-world projects confidently.
### What You'll Learn:
1. **Getting Started**
- Set up your development environment with Microsoft Visual Studio 2019 Community.
2. **Coding Fundamentals**
- Write, build, and run your first C# program. Get hands-on with your first lines of code.
- Understand essential syntax elements like the period.
- Make your program interactive with sound.
- Master string input and processing.
- Perform arithmetic operations and string interpolation.
- Format outputs as dollars and percents.
- Simplify your code using the Static keyword.
- Collect and process numeric input.
- Handle exceptions to create robust programs.
- Utilize method chaining for efficient coding.
- Work with complex objects containing multiple data types.
3. **Logical Operators and Control Structures**
- Use comparison and logical operators to control program flow.
- Master if/else statements with practical scenarios.
4. **Loops**
- Gain expertise in loops with real examples. Learn about unary operators, for loops, while loops, and debugging techniques.
5. **Projects with Control Structures**
- Apply your knowledge in comprehensive projects using while, for, and if statements.
6. **Variable Handling**
- Delve into variable handling, including copying by value and reference, and array operations.
7. **Methods**
- Understand and utilize methods to structure and optimize your code.
8. **Advanced Projects**
- Undertake a wage summary project integrating switch blocks, methods, and DateTime.
9. **Sum and Average Calculator Project**
- Build a sum and average calculator step by step.
10. **BONUS: Calculator with IronPython**
- Create a fully functional calculator using IronPython, merging C# skills with Python for versatility.
### Please Read Carefully Before Enrolling:
1. This course is designed for beginners in C#. While it starts with basics, it progresses to fairly complex topics in some videos.
2. All code is built in real-time, piece by piece, without PowerPoint presentations.
3. I appear as a small talking head in every video, moving around to explain concepts. If you find this distracting, this course might not be the right fit for you.
4. When available, code files are stored under lesson resources as plain text files.
5. I am just one person, and while I strive to cover everything, I might miss some subtle details.
6. There are often multiple ways to achieve the same result in programming; exploring different methods is normal.
7. This course exclusively uses Visual Studio 2019 Community.
8. You will be prompted to answer questions or type code at various points. Please pause the video to do so.
9. Some explanations are very detailed to ensure thorough understanding.
10. Light math concepts, like percents, are used to illustrate programming concepts.
11. Detailed use of debugger and memory panels is included to explain subtle concepts.
12. Watch the available free preview videos to get a sense of the course.
13. Sections 1 to 9 focus on console programs (command prompt).
14. Section 10 introduces graphical user interface programs using Windows Forms.
15. The average video length is 6.2 minutes.
16. Please read the entire course curriculum carefully before purchasing to make an informed decision.
### Why Choose This Course?
Hands-On Learning: Gain practical experience with each lecture.
Comprehensive Curriculum: From basics to advanced topics, ensuring thorough understanding.
Expert Guidance: Learn from industry professionals with extensive C# experience.
Project-Based Approach: Apply your knowledge in real-world projects to boost your skills and confidence.
### Enroll Now
Join us on this journey to becoming a C# expert. Enroll now and start building your future with code!