As I start to focus on my core passion in tech-training and knowledge transfer, here is my c-sharp lessons repository on github...This is my adaptation of work and my understanding and how I know how to teach C#. Feel free to contact me for any suggestions or comments.
We will be creating a C# application for a company called WindForce Corp. Let's have some fun!
Here are the items we will be discussing.
- What is .NET
- What is C#
- Your Development Tools
- .NET Core SDK
- Visual Studio Code
- Visual Studio
In this lesson, we will be talking about data types, variables and do some fun things with those variables.
In the calculations, we introduce on bug as a prerequisite to our next lesson where we deal with what bugs are, how to catch, swash and avoid them (you know, some could be devastating).
In this lesson, we will be talking about how to locate some bugs in your code. From our last lesson, we noticed that when we performed the snippet below, our output was 0 instead of 0.5
int anotherDividedValue = secondValue / firstValue;
Console.WriteLine($"{secondValue}/{firstValue}={anotherDividedValue}");
This is not supposed to be right? We call this a bug because our program is not doing what it is supposed to do. How do we solve this? Let's look into the code and DEBUG.
Oh yeah, we introduced 2 new concepts here, CASTING and PARSING. Since we introduced parsing. We should probably treat something omitted here-accepting values from the console-quickly.
I wish I could show more here but maybe I'll put it in a book or video-concepts like breakpoints.
You know when we sometimes, some things are where they are not supposed to be. i.e. out of bounds or you are trying to call for something but you don't have access to it. Yeah, it happens in code too. We call it SCOPE. Now there are some scope levels. some you declare in class level, method level, even have some same-named variables. Check out the code to learn more.
In this section we will be talking about strings, how to use them, replace text, concatenate strings. Yes, also string formatting is part of what will be doing.
We look on how to do some manipulations with the DateTime object.
- Get current date
- Get current time
- Get long date
- Get long date
In this lesson, we discuss how to use arrays and collections - one of the fun features of C# that I use quite a lot.
//Reminder: Put links to learn XAML