C# Full Course for free

C# Full Course for free

Bro Code

3 года назад

1,467,477 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mahdi Kamrani
Mahdi Kamrani - 20.11.2023 09:31

خدایی خوب یاد میده؟اگر خوبه بشینم ببینم

Ответить
Pedro
Pedro - 19.11.2023 19:43

Thank you Master!

Ответить
Erik
Erik - 19.11.2023 14:11

Really really useful !

Ответить
Elcid Miranda
Elcid Miranda - 18.11.2023 17:38

Thank you❤❤

Ответить
BeyondAbysmal
BeyondAbysmal - 18.11.2023 00:48

Great tutorial as always 👍

Ответить
Jaafar Alkhoder
Jaafar Alkhoder - 18.11.2023 00:48

Best of the best 👌

Ответить
Jaafar Alkhoder
Jaafar Alkhoder - 18.11.2023 00:47

Random comment 🙂

Ответить
kaung set
kaung set - 17.11.2023 17:41

one of the best way to approach C# . Thank you Bro Code!!!!!!!!

Ответить
West
West - 17.11.2023 07:01

thank you for this brother!

Ответить
Jakub Mazur
Jakub Mazur - 16.11.2023 00:31

Random

Ответить
Zentiva
Zentiva - 13.11.2023 23:41

this is a random comment (great video watched it all the way even though im supposed to know classes already :) . )

Ответить
Gladys Chanda
Gladys Chanda - 13.11.2023 11:45

Random comment

Ответить
Sebastian Nemec
Sebastian Nemec - 13.11.2023 02:20

Can we all jast appreciate, that this Video is exactly 4 hours long
(very satisfying)

Ответить
Mikołaj Sajewicz
Mikołaj Sajewicz - 10.11.2023 08:04

Is these tutorial for me if I don't want to make sth in unity? I just want to learn c# for back-end projects

Ответить
HOYORK Il Leader
HOYORK Il Leader - 10.11.2023 00:18

The best way to approach C# :D. Thank you man!

Ответить
Roma
Roma - 09.11.2023 18:42

thanks for your handwork

Ответить
Lavenderiscool
Lavenderiscool - 09.11.2023 04:26

this is great!!!!!!

Ответить
Saahib Singh
Saahib Singh - 08.11.2023 22:17

Hi Bro Code,
I don't know if you will ever see this but I am coding a c# master mind game for my As level project which is the British version of high school and the premise of the game is to guess key1-8 each assigned random values(I used your vids to do this btw) but I don't really know how to add a feature that would allow the use to input yes or no to the question would you like to play again and then the game restart itself. If you ever get the time I'm going to paste a copy of the code ( I'm sorry if the intendations get messed up) please have a look on how to do it if you wouldn't mind. Many thanks.p.s if you don't get the time its ok but I want you to know you have really helped me in my course thanks.

class MasterMind
{
static void Main(string[] args)
{// this block of code declares all the variables that im going to use
int score = 0;
int key1;// The key variable is the variabel that the user will ahev to guess int key2;
int key3;
int key4;
int key5;
int key6;
int key7;
int key8;
int guess1;// The guess variable is the name of the guess of the user
int guess2;
int guess3;
int guess4;
int guess5;
int guess6;
int guess7;
int guess8;
Random random = new Random();// this programme allows me to generate a psuedo random number
key1 = random.Next(0, 9);//this generates a random number for each key key2 = random.Next(0, 9);
key3 = random.Next(0, 9);
key4 = random.Next(0, 9);
key5 = random.Next(0, 9);
key6 = random.Next(0, 9);
key7 = random.Next(0, 9);
key8 = random.Next(0, 9);
Console.WriteLine("Do you think the first key is a 1-8 or anywhere in the middle");//console . writeline is used to output text on screen in this case the question is key1 a 1,2,3,4,5,6,7 or 8
guess1 = int.Parse(Console.ReadLine());// this allows the user a domain to input an awnser
if (guess1 == key1)//the if statement is the responce given wether a statement is true or false which in this case wether or not the player has input the write awnser {
Console.WriteLine("coreect!You get 1 point");//if they have their score variable increases by 1
score++;
}
else//else s if the statement is false in which case the following text will appear {
Console.WriteLine(" your wrong :( unfortunatly it was actually " + key1 + " Better luck next time:)");// by placing the key1 variable in a console . writleine the cvalue of the variable is output to the user
}
Console.WriteLine("Do you think the second key is a 1or 8 or somewhere in between");//The proccess then repeates for every single key ,each producing a psuedo random number guess2 = Int32.Parse(Console.ReadLine());
if (guess2 == key2)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine("better luck next time it was actually " + key2);
}
Console.WriteLine("Do you think the third key is a 1,2,3,4,5,6,7 or 8");
guess3 = Int32.Parse(Console.ReadLine());
if (guess3 == key3)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong it was " + key3);
}
Console.WriteLine("Do you think the fourth key is 1-8 or somewhere in between?");
guess4 = Int32.Parse(Console.ReadLine());
if (guess4 == key4)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong it was " + key4); }
Console.WriteLine("Do you think the fifth key is a 1 or 8 or somewhere in the middle"); guess5 = int.Parse(Console.ReadLine());
if (guess5 == key5)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong :( it was " + key5); }
Console.WriteLine("Do you think the sixth key is a 1 or a 8 or somewhere in the middle"); guess6 = int.Parse(Console.ReadLine());
if (guess6 == key6)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong :( it was " + key6); }
Console.WriteLine("Do you think the seventh key is a 1 or a 8 or somewhere in between"); guess7 = int.Parse(Console.ReadLine());
if (guess7 == key7)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong :( it was " + key7); }
Console.WriteLine("Do you think the eighth key is a 1 or a 8 or somewhere inbetween"); guess8 = int.Parse(Console.ReadLine());
if (guess8 == key8)
{
Console.WriteLine("coreect!You get 1 point");
score++;
}
else
{
Console.WriteLine(" your wrong :( it was " + key8);
}
if(score == 8)// here we state that if the score variable is equal to 8 which is the max score you can get the following message will output
{
Console.WriteLine("Well done you win :)");
}
else// however if that condition is not met them the following message plays outputing their score aswell
{
Console.WriteLine("You got "+ score+" Better luck next time! ");
}
}
}

Ответить
Abdulrazzak Alsaid
Abdulrazzak Alsaid - 08.11.2023 21:14

nicwe

Ответить
Xavier Parlat
Xavier Parlat - 08.11.2023 20:30

SIT BACK
RELAX
& SHARAP :D (GTA songs)
Thanks bro for your amazing videos!
Greetings from Barcelona!

Ответить
nhlanhla mokoena
nhlanhla mokoena - 07.11.2023 10:09

so do you have to initialize a variable every time you about to use it in a condition inside a while loops?

Ответить
Your Cool
Your Cool - 07.11.2023 01:02

I'm confused on the nested loop part. How the hell does the system know how to create specifically rows and columns

Ответить
Matthew kifah
Matthew kifah - 06.11.2023 19:24

Thanks for great way of teaching, much appreciated.

Ответить
Kavent09 Draws
Kavent09 Draws - 05.11.2023 10:12

idk why but I cant type the "else" command, it shows SIX errors at 55.01

Ответить
NILESH SINGH
NILESH SINGH - 04.11.2023 08:29

love from india

Ответить
NILESH SINGH
NILESH SINGH - 04.11.2023 08:29

random comment''love the way you teach love from india

Ответить
NILESH SINGH
NILESH SINGH - 03.11.2023 16:21

random comment

Ответить
Shiftiik
Shiftiik - 02.11.2023 15:49

random comment-

Ответить
SwiftyCook
SwiftyCook - 01.11.2023 18:28

this is a comment

Ответить
GAME ON
GAME ON - 31.10.2023 10:32

Do we need to know any other language before learning this

Ответить
Rita De Cássia
Rita De Cássia - 30.10.2023 20:06

I have to say... beep is a good feature

Ответить
Jane Milon
Jane Milon - 29.10.2023 20:39

.

Ответить
Master Of Puppets
Master Of Puppets - 29.10.2023 08:32

thanks for the course bro, greetings from Russia. I would like to know if there will be a 12 hour course?

Ответить
Anuvind M
Anuvind M - 27.10.2023 11:29

class RandomComment{
string value;
pushComment(comment){
this.value=comment;
}
}
RandomComment comment = new RandomComment();
comment.pushComment("This is a random comment");
console.log(comment.value);

Ответить
Wilczvr
Wilczvr - 24.10.2023 11:34

finally something helpful for bros

Ответить
ELINT
ELINT - 23.10.2023 23:50

Thanks alot

Ответить
Kolawole Omotosho
Kolawole Omotosho - 22.10.2023 17:33

I am a Fello Bro now. LOL!

Ответить
Kolawole Omotosho
Kolawole Omotosho - 22.10.2023 17:33

Beautifull. Learnt a lot

Ответить
Project Analysis
Project Analysis - 22.10.2023 15:18

Now this video is gonna let me buy a yacht. Bro, you are the only person giving free tutorials over an hour long. Thanks bro,

Ответить
DolphinzAQT
DolphinzAQT - 22.10.2023 02:04

WWW

Ответить
James Bond
James Bond - 21.10.2023 21:18

Also, when doing overloading constructors, can you use the params keyword as well or not?

Ответить
James Bond
James Bond - 21.10.2023 20:53

I know it may be a lot to ask but for each video in this playlist would it be possible for you to make some exercises to do after each video

Ответить