
C# Tutorial - Full Course for Beginners
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Mira
i dont know who's going to read this but I'm a desperate student and my deadline is near only 2 days more. Do anyone know C# coding:( here's my homework
Coding Guidelines:
1. Create 3 arrays -> 10 boxes
- name
- sales
- commission
2. Create a for loop
Inside the loop,
ask user to enter the name
then user will enter their name
ask user the enter the sales
then user will enter their sales
automatically calculate the commission based on the formula given
commission = sales x 3.4%
Then display the commission to user
--What user has entered must be saved in the array.
-- If you encountered any error, make sure to screenshot, and take
note on how you resolved the error
3. Create a loop for the bubble sort, must sort all 3 arrays
4. Create another loop to display the output after sorting
reply
i dont know who's going to read this but I'm a desperate student and my deadline is near only 2 days more. Do anyone know C# coding:( here's my homework
Coding Guidelines:
1. Create 3 arrays -> 10 boxes
- name
- sales
- commission
2. Create a for loop
Inside the loop,
ask user to enter the name
then user will enter their name
ask user the enter the sales
then user will enter their sales
automatically calculate the commission based on the formula given
commission = sales x 3.4%
Then display the commission to user
--What user has entered must be saved in the array.
-- If you encountered any error, make sure to screenshot, and take
note on how you resolved the error
3. Create a loop for the bubble sort, must sort all 3 arrays
4. Create another loop to display the output after sorting
reply
Boody
2:47:05 Also converted it into a do while loop :)
using System;
namespace ConsoleApp1
-
class Program
-
static void Main(string[] args)
-
string secretWord = -boody-;
string guess = --;
int guessCount = 0;
int guessLimit = 3;
bool outOfGuesses = false;
do
-
if (guessCount < guessLimit)
-
Console.Write(-Enter a guess: -);
guess = Console.ReadLine();
guessCount++;
- else
-
outOfGuesses = true;
-
- while (guess != secretWord && !outOfGuesses);
if (outOfGuesses)
-
Console.Write(-You Lose :(-);
- else
-
Console.Write(-You Win!!-);
-
Console.WriteLine();
-
-
-
reply
2:47:05 Also converted it into a do while loop :)
using System;
namespace ConsoleApp1
-
class Program
-
static void Main(string[] args)
-
string secretWord = -boody-;
string guess = --;
int guessCount = 0;
int guessLimit = 3;
bool outOfGuesses = false;
do
-
if (guessCount < guessLimit)
-
Console.Write(-Enter a guess: -);
guess = Console.ReadLine();
guessCount++;
- else
-
outOfGuesses = true;
-
- while (guess != secretWord && !outOfGuesses);
if (outOfGuesses)
-
Console.Write(-You Lose :(-);
- else
-
Console.Write(-You Win!!-);
-
Console.WriteLine();
-
-
-
reply
Eagle
Hey Mike! Thank you so much for putting effort and time into teaching other people what you already know! I built some complex sql scripts and powershell oneliners for many years, and started getting pretty advanced in powershell to build tools and automate admin work, this video, even tho its aimed at beginner is a) a nice refresh and b) a blessing to use to jump into C#! So yea, thanks a lot again and i wish there was more people like you! Bests from another place
reply
Hey Mike! Thank you so much for putting effort and time into teaching other people what you already know! I built some complex sql scripts and powershell oneliners for many years, and started getting pretty advanced in powershell to build tools and automate admin work, this video, even tho its aimed at beginner is a) a nice refresh and b) a blessing to use to jump into C#! So yea, thanks a lot again and i wish there was more people like you! Bests from another place
reply
Boody
2:38:04 I did it on my own:
using System;
namespace ConsoleApp1
-
class Program
-
static void Main(string[] args)
-
string secretWord = -boody-;
string guess = --;
do
-
Console.Write(-Enter guess: -);
guess = Console.ReadLine();
- while (guess != secretWord);
Console.Write(-You win!!-);
Console.WriteLine();
-
-
-
reply
2:38:04 I did it on my own:
using System;
namespace ConsoleApp1
-
class Program
-
static void Main(string[] args)
-
string secretWord = -boody-;
string guess = --;
do
-
Console.Write(-Enter guess: -);
guess = Console.ReadLine();
- while (guess != secretWord);
Console.Write(-You win!!-);
Console.WriteLine();
-
-
-
reply
Hannah
Thanks Mike! I have tried to learn C# from multiple sources and instructors but your teaching style is the most enjoyable and easy to understand. I retained the info a lot more and have much clearer ideal of what C# programming does from syntax to functionality. Thank you
reply
Thanks Mike! I have tried to learn C# from multiple sources and instructors but your teaching style is the most enjoyable and easy to understand. I retained the info a lot more and have much clearer ideal of what C# programming does from syntax to functionality. Thank you
reply
Positive
I did the guessing game on my own and it is amazing how many variations you can have with just the tools we've learned here. My solutions contained methods and a completly different counting system, but the end-result (on screen) was exactly the same. Pretty cool!
reply
I did the guessing game on my own and it is amazing how many variations you can have with just the tools we've learned here. My solutions contained methods and a completly different counting system, but the end-result (on screen) was exactly the same. Pretty cool!
reply
TitanicPat
Classes and objects are like a data table, the Class and its attributes are the HEADERS across the top of that table. The objects represent ROWS within that table with each field filled in, beneath the corresponding header.
reply
Classes and objects are like a data table, the Class and its attributes are the HEADERS across the top of that table. The objects represent ROWS within that table with each field filled in, beneath the corresponding header.
reply
Daeyoung
Nice tutorial. It took me 8 hours to cover the entire video for my Saturday challenge. I wonder if the Italian chef could cook a special dish for me such as chicken parm. Thanks the clear tutorial
reply
Nice tutorial. It took me 8 hours to cover the entire video for my Saturday challenge. I wonder if the Italian chef could cook a special dish for me such as chicken parm. Thanks the clear tutorial
reply
GameTime
You missed foreach, but still I just decided to finally learn coding and in just over four and a half hour I know really a lot, even tho it's an old tutorial it's super useful
reply
You missed foreach, but still I just decided to finally learn coding and in just over four and a half hour I know really a lot, even tho it's an old tutorial it's super useful
reply
Thiagarajan
It is really great tutorial for beginners. Hats off to you Mike. I had a very good session on c#. Where I can have the next session please. Once again thanks a lot
reply
It is really great tutorial for beginners. Hats off to you Mike. I had a very good session on c#. Where I can have the next session please. Once again thanks a lot
reply
Add a review, comment
Other channel videos















