How to Program in C# - BASICS (E01)
Vložit
- čas přidán 13. 06. 2020
- Let's write our first code in C#!
Jason no longer offers the course mentioned in the video.
● Watch the Getting Started Video: • HOW TO PROGRAM - Getti...
● My Solution to the Challenge: forum.brackeys.com/discussion...
forum.brackeys.com/discussion...
👕Get the new Brackeys Hoodie: lineofcode.io/
····················································································
❤️ Donate: www.paypal.com/donate/?hosted...
► Join Discord: / discord
● Website: brackeys.com/
● Twitter: / brackeystweet
● Instagram: / brackeysteam
····················································································
► All content by Brackeys is 100% free. We believe that education should be available for everyone.
❤️ Donate: www.paypal.com/donate/?hosted...
····················································································
♪ "ES_Dress Code_Black - oomiee" by Epidemic Sound
Me: Learn C#
2 Days Later
Brackeys: How to Program in C#
Same lol
He know wat we need for dis time!
he is western spy
He is the angel 😇 under your bed lol
same
I'm so glad we have tutorials like this.
yup, time for coding
Golden age for information. God bless the internet.
F for the latest news
This comment didn't age well
Hey do any of you know why or how cause my computer doesn't show any colors and whenever I do the period it doesn't show anything. H e l p.
"Dont worry, we can ignore everything except..."
*highlights everything*
DREAMED
Lol
I mean, he's not wrong
Console: I’m gonna destroy the world
Also console: what’s your favourite colour
Yep, that’s Asbjørn for you xD
Favorite color: death
motor oil is my favorite color
If you choose the wrong color, he will destroy the world.
Hey do any of you know why or how cause my computer doesn't show any colors and whenever I do the period it doesn't show anything. H e l p.
I wanted to learn to code and I immediately tried to make a game and gave up. Now this is something I CAN do
I did the same and I just failed
A tip. Take breaks
Another tip WATCH EVERY BRACKEYS VIDEO really well explained
Raveendra Ramani I already did that, even though I didn’t code :)
You most certainly failed because you did not start from the beginning. Like maths, you can't learn calculus before knowing how to multiply.
Take it step by step, and you will be able to create a game eventually, good luck!
I know the stuff and coding, and i know everything in this videos already but...
This is still entertaining
Yea, same. I already know A LOT of stuff. However its nice to watch *NEW* tutorials by amazing people!
using UnityEngine
{
Debug.log()
“Me too”;
}
using UnityEngine;
bool iThinkTheSameThingAsYou;
void Update()
{
if(bool == true)
{
Debug.Log("same");
}
}
Trolllolol 😭😢😢😢
@@nikoskonstantinou3681 i couldnt agree more, like a bunch of us know a lot of vfx graph, gfx graph, i watched how to make an rpg tutorial, first tutorial i watched from brackeys is "how to make a game".
I’ve been learning Unity and C# for a week or 2 now and made a couple of simple games thanks mostly to you. But sometimes I send a text to someone, I end it in a semicolon not a full stop 😆
Thanks Brackeys
hello mr;
that's so funny!;
Awesome bro;
Console.WriteLine(“If I’m not careful, I may start speaking in code exclusively.”);
Console.ReadKey();
Hello Mr; MK Wraith
Who's from 2024😂
😂 me
Just got on here trying to learn coding lol
Me
Me
Me
Hey Brackeys, I just wanted to thank you. You coincidentally uploaded this video one day before my summer schedule, and I added C# on the list now. I'm really looking forward to the next episode, and I really hope you continue this series!
Brackeys literally covers every topic its great. I have learned more from this channel than most courses and am starting a beginner series now as well inspired by this. Thanks for the years of great help.
hey bro can u tell me the beginner series inspired by this?
5:35 I know that making the window height larger isn't that exciting, but knowing how precise you need to be with code, while being a beginner it makes me so happy to see little things like that work perfectly.
Fast, easy and fun tutorials. Absolutely amazing
7:42
Brackeys: (with a peaceful voice) to destroy MANKIND
😂😂😂😂
I'm so glad that you're making this series! I just got unity and before this I had just been making games on scratch so it's hard to learn writing code instead of using blocks
Thanks a lot for this video series, it explains everything much better. Normally you just have the teacher saying "yeah thats the code learn that", but instead actually learning what it does, where its coming from and what does what exactly is a lot of help.
This is SO helpful! It's simply broken down and explained in a way that even someone who knows nothing about programming will begin to learn.
thumbnails are op bro
Ikr!
It's modern
that's what I was thinking! I already know C#, but the thumbnails are next level
indian man
@@steadyblade5446 is that a problem?
You could also store the user's name in a variable to use it in later sentences:
String UserName = Console.ReadLine();
Console.WriteLine("Hello, {0}, I am your father.", UserName);
The {0} is there to import the 0th (1st) variable from the list on the right into your text. You could add more variables by doing {1}, {2}, and so on.
string UserName = Console.ReadLine();
Console.WriteLine($"Hello, {UserName}, I am your father.");
um does the not know his father 😂
child* does the child not know his father??
Thx
@@dirhi System.out.println(“NOOOO!! That’s impossible!!”);
PLEEEEAASE, keep the series up! Your tutorials are simply the best available for free, even better than some paid ones.
@Most Videos On A Channel Ever yeah I know :/ I commented before it happened
Fast and clear, unlike every other tutorial. Thanks again, you're awesome
thank you for making this series you are helping us a lot to start programming and game development thank you so much
Even the video is 2 yrs old, i just dloaded and type this tutorials and got the result! first time trying this, thank you so much
Man I was so focused on trying to understand your tutorial and this was easy to understand. You are an excellent teacher, I am anxious to learn more so I am subscribing thank you!
Dude I just discovered this channel and it’s so enjoyable, like he teaches it really well, and if I was at home I’d be having so much fun creating my own program
This series is amazing. I already know how to code in JavaScript, but this is really fun. Keep it up!
This is perfect. You have the perfect energy and voice for teaching. Thank you for this.
I just stared your "How to make a video game in Unity" series and now ur posting a series on how to program in C#, damn, right on time!
Thanks for helping us out mate!
I LOVE THIS SERIES! this is one of the few videos/tutorials atchually that helped me!! :)
Tried a few C# tutorials, but this one was by far the best. Looking forward to part 2.
he quit youtube lol
I learned to code with C++ on Udemy. I just learned the basics I haven’t even made any programs with it it just thought me the basics. This is going to be a good series for beginner programmers for sure.
Going to be honest, stumbled across this channel, and by far the best thing that's happened! Thankies
I like how you preemptively answer the questions of overthinkers like myself. Great video.
God this is cool. This part always seemed so boring to me but the simple thing of changing colours is so rewarding to know that you did something and it turned out cool. Also alot easier to understand than I expected.
That challenge at the end is great! You should keep that through the whole series. Great work! :D
This is one of the best and funniest tutorials I've ever seen❤
Keep it going
This is my first time programming and i finsd this very easy! I am pleasured to say that you're explanation videos really help!
heyyy, after 1 year, i made a really simple 3d game with opengl. I came here to thank you, u helped me get started :)
teaches us the two most basic lines of code "now I know this might be a lot to handle"
because it is
He is clearly talking about the ability to recognize and reflect abstract thinking, not necessarily the methods themselves. It's like you are trying to learn russian but with the cyrillic alphabet on top right away. If you can't recognize the letters it will be very hard to form sentences...
@@dyingsun7857 good way to word it out actually
very helpful, I am learning how to use visual studio for a class and I felt like I was missing a lot of the straight forward lines of code. Thanks for the great video, it helped me get an idea of what to do!
This is actually really helpful, thanks. can't wait for episode 2 :)
This is awesome! Your videos inspired me to begin making devlogs on my channe!
This video makes everything so easy, I’m learning some coding as I’m choosing computer science for my GCSEs and this video is really helping me understand coding!
Wow a fellow English lad
I've been trying to get my head around C# for a class for the last 3 weeks and nothing has worked until I found this video. Thanks!
It has never felt so good to see a little box with text. THANK YOU BRACKEYS!!!
Yesterday i spent 4hours learning C#
I want to put in 2hours today
the 4 and a half hour course from freecodecamp is great.
Really liking the language, much prefer the syntax over VB script and delphi
I just realized how similar Javascript is to c#. I want to be a gamedev when I grow up :) This helps me alot.
This helped I lot and I really liked coding when I was younger than I stopped but now I'm ready to give it a shot again, and thanks to you I made progress, small progress but progress non the less. Thank you!
His videos have so much energy and information. They're the best
Whenever we need him he posts
This comment did not age well
@@griffinheatley1908 it did not
@@griffinheatley1908 really didn’t
I love school now, just yesterday I made a simulation of a casino game for advanced maths in adobe excel, but after watching this video again, I FINALLY understand what it means to code!!
IM GOING TO MAKE A VIDEO GAME!! ITS SO FUN AND EASY TO CODE ITS JUST PUZZLE GAMES IN WORD FORMAT!!!
Please keep this going. I have a C# courses in the fall. Would love a head start
Best tutorial ever I have seen on c# thank God I found your channel thanks for tutorials man
The best explaination I've heard, and I've used Zenva and Udemy to learn basics. Please complete this series!
I have a passion for computers and technology and like to learn how things work, learning how to program has been on my bucket list for some time now. So tutorials like these are a blessing
Wow I honestly thought I was kind of useless when it came to coding but even after a little practise I feel so much more confident. Thanks!
A method ive found really helps me understand it not just copy it down without learning anything is taking notes as I go in the style of a tutorial to myself. That way I have to explain what everything does and why I'm doing it as I follow the tutorial, so I make absolutely certain I grasp it well enough that I'd be able to explain it to someone before moving on to the next step, and if I ever forget anything I can go back and read my own definition of everything in terms specific to how I learn and understand things.
Who else already knows C# but watched this whole video anyways because they love Brackeys?
✋
😂🙌🏼
No
Not me I started today lol
Not me (lol)
real followers of brackey knows they have done this series before 😏
@@booty_mcscooty yep
:DDDDDDDDDDDDD
Not necessarily real, just old :)
I'm just looking for what do I need to add to a winforms project if I'm doing it in VScode vs visual studio,
Searching this returns the same canned answers,
C# has more "canned answer" style of video and post than any other language
@@tyrrelldavis9919 It's impossible to develop Winforms or WPF apps in VSCode. Use Visual Studio.
The story at the end brought a tear to my eye😢
Such a valiant knight.....
And TED too....
Jeez, the world is a cruel place...
I love so much your videos! I want to learn coding but its really difficult to find some good tutorial in italian and with these videos I can learn also english. Thank you!!
I know a lot of programming languages on a reasonable level, I make low level system programming in C mainly.
Brackeys: How to program Episode 1
Me: Well, time to watch
Who went to comments right away?
without dislikes to tell me if the video is bad i have no other choice
Caught
Me
Always!
not me
*moment of realization*
I'm learning C# after watching Brackeys' videos since 2018, it's so cool to actually write code!
Thank you so much Brackeys. At first i didn’t think this would apply but now i understand things and realize what they mean.
This is a tutorial of how to code thats sponsored by a coding tutorial
jason weimann is a great dude, I have been following from the long time
Rocket Egg same, he is quite good ngl
Him: "so, the time has come for you to write your first lines of code
Me: "OOOOOOOOOOOHOOOOOOO!!!!"
Man, I'm really glad I've found a channel just like this...
If you're a Unity developer it's a whole treasure for you! I'm just getting started with making games and programming and already want to thank you and your team for all of the stuff you've uploaded and done for us! Hope you're doing great guys!
Thank you!
Brackeys, your video on 'How to Program in C# - BASICS (E01)' is an excellent resource for anyone looking to dive into C# programming. Your explanations are clear and concise, making it easy for beginners to grasp the fundamental concepts. I appreciate how you walk through each step, providing practical examples and demonstrating how to write clean and efficient code. Your enthusiasm for programming shines through, making the learning experience enjoyable and inspiring. Thank you for sharing your expertise and creating such valuable content for aspiring C# developers. Looking forward to the next episodes in this series!
fella are you chatGPT
Me :waiting for friend to respond
Friend: responds
Me: *ignores and watches brackeys video
hehe
Me : stuck at home doing nothing
CZcams recommendation : wanna learn how to program c# ?
I searched for this actually
I have been reading a book for 3 hours now struggling and this legend just made me understand it in 12 minutes.
nice, helped me a lot and I honestly had fun playing around with it.
who needs actual classes when we have brackeys!
edit: had
Sadge
me: Console.WriteLine("Hello, my name is Destructive-88");
Console.WriteLine("Whats yours?");
Console.ReadLine();
MOM! DAD! I LEARNED HOW TO CODE!!!!!
That's litterally what I did lol
Amazing first video, am taking this journey with you
Wow, You can already learn a lot from this. And the video is only around the 12 minutes. Great job!
Me wanting to learn C# for unity as a kid:
"I will do it!"
Me after finding out about this channel:
"He he he he he he..."
Blersh 100 lol
but brakeys!, i hear you ask;
"why vs code and not visual studio?"
@@someoneelsenone822 True. Honestly, I like how VS works. So many quick features, pretty intuitive to use. Sure, it's not the fastest way to work with C# but imo it's the best. Especially when working with things like WinForms/WPF where VS tools are really helpful.
I think it's because it's lighter and and can work on any PC and also because it doesn't have a lot of scary options and parameters for beginners, idk XD
Btw I like how you did the Michael Reeves reference lol 😂
Well vs code is lighter
(But according to me vs is better since vs code gave me quite some headache to get started in the past)
For me vs gets unity inteillisense with it but not with vs code idk y
I downloaded both but couldn’t get VS to work, isn’t VS code made for debugging
Hi Brackeys im a coding noobie i dont know anything about coding but i had seen your videoes about coding and i think its pretty cool so im gonna start to learn to code with you, Yes im going to learn c# as my first language thanks for helping me learn Brackeys please keep your videoes going .
This is amazing and so easy to follow :). Thank You!!!!!
I feel like at this point we're all (Including Brackeys) only here for the FacePalm jokes in the beginning of each episode.
Yep
Im yet to see a programming channel that say "Hello, World!" as their intro
Carl Loreto hello world is the default thing when u make a .net file
Ty! Hope u start posting again. We will always welcome you back with open arms!!
For the first time in my life I found such a best CZcamsr , teaching well
learning is easy, waiting for the lesson is hard...
This makes me feel so stupid when i now realize everything whats going on In unity
What makes you feel really stupid is when you realize what really going on in your computer via linear algebra
Thanks for starting the course. I have been witeing for long to start a course like this
I was just thinking about learning c# with the old tutorial so happy they are doing this
I have decided to make a "game" where you must recite every other lyric to Rick Astley's "Never gonna give you up"
Horse Man amazing
Genius.
I want a more basic tutorial that explains why we put certain things in brackets and other things with a period.
sleepy so do i
Syntax
Spacebars are FORBIDDEN so we use . instead
I'm not an expert, but to my understanding the use operators (like '.' {the dot} and '{}' {brackets}) is to delimit different portions from code, for organizational purposes. Whatever operator is used in pretty arbitary, some languages don't use semi-colons, etc, etc. If it helps, just think of it as symbols that tell your computer what some random line of code does. For a common example in math, '5 + 5' just means add five things to another five things.
"[]" are (to my understanding) used for arrays. You can think of an Array as filing cabinet for your code. Example: You say hey computer get me what's in Array #3 and ÷ it by what's in Array #6 ([3]÷[6]=X) "." are used to summon blocks of code known as cyberdeamons or a "method". Methods are blocks of code that do things that have a name and belong to a class.
I love this series keep this series up please
Take a break here then continue scrolling................ you have a really long way down there....⏬
I just finished your challenge with my shitty spaghetti code I think I've learn enough to get hired from Bethesda
cool! coding has never been this fun until now. thanks brackeys.
Thank you for updating your tutorial, much appreciated
Hey, so I am starting these tutorials at the end of 2022 and inside Visual Studio my "lines of code" inside Program.cs is "simplified" I guess would be the best term. For instance, my "hello world" application is only 2 lines, console.writeline and console.readkey(). Other articles I've read seem to say that this will work (and my hello world works) but I can't get over the feeling that I am missing valuable information among other things by not having the same "extended" format as are in your videos. Do you or anyone else think I need to revert the formatting to match what is in these videos or is this extra\extended version just not needed now? And does anyone know the way for me to revert the formatting to this method as shown in your videos? Thanks for any help
Hi, I'm having the exact same issue, any fix?
yep i have the same issue. but its fine you can also write the code, that you see in the tutorial. you can put it manually by typing letter by letter.
@@jhonjhester6682 it's not needed
You can change it by putting "dotnet new console --use-program-main" instead of just "dotnet new console" on the terminal, at the beginning of the creation project/program. =)
Are you using Visual Studio rather than Visual Studio Code?
When I hovered over the thumbnail I thought he aged 60 years in a day.
Thank you so much for what you do ! Greatly apreciated
all right, my very first lines of code and I recreated the riddler and batman conversation, great start thanks for the videos
incredible
there is 1 imposter amog us
" " " " ' " " " "