Guys, if you want to include "10" you have to do "random.next(1,11)" Sorry about that. Otherwise it is 1 - 9
@nabinmagar96827 жыл бұрын
What I do to print message that if user inputs greater than number 10 then please enter number from 1 to 10. I tried like if(guess>10){} like tht kinda thing but cannot do it. Any help..
@Shogoeu7 жыл бұрын
Hi there. If you haven't figured it out, i'll show you the way. Look at the part in the source that says "// Make sure its a number". Now we need 2 things from there - checking for correctness and skipping to the next step. You wrote the condition by yourself - if(guess>10){}, now for the body you need to write the message and skip to the next input. From the original code we know that skipping is done with 'continue;', so the finished code would look something like if(guess>10){ PrintColorMessage(ConsoleColor.Red, "Please enter number from 1 to 10"); continue; }
@nabinmagar96827 жыл бұрын
Shogo thanks, appreciate your help
@akshaygoel94177 жыл бұрын
Please read my comment!!
@andresviveros39946 жыл бұрын
Hi Sir, why do you put double =="Y"){. Does it have to 2 or can it just be 1?
@ericmann89767 жыл бұрын
Hi Brad,, I have been a C# programmer for 12+ years and wanted to say, you did a fantastic job teaching this C# Crash Course for Beginners. You explained the various beginning concepts in an easy and simple way that anyone can understand. Thank you again for your dedication to teaching computer programming for everyone.
@TraversyMedia7 жыл бұрын
Wow, that really means a lot. I am fairly new to C# and was not sure if I did just that. Thank you!
@MrMLBson096 жыл бұрын
hey Eric, what was your starting salary when you started as a C# programmer and what is your salary now? I'm very interested to know as I might explore this as a field.
@jackma36746 жыл бұрын
MLBson09 are u serious?
@coyotemoon7226 жыл бұрын
Yes, why is that a strange question? Do people's salaries need to be secret?
@diegoalbarracin53906 жыл бұрын
if you can't find salaries on google search..then god help you.
@dogbyte78754 жыл бұрын
Mr. Traversy, I would like to say "Thank you". I have been learning the three basics (html, css and js), at w3schools they are great tutorials, but I had to come here to see things put together. As a 64yo, this has become a hobby (retired), started out as a curiosity. The irony of it all is I could have learned this when I enlisted in 1974. Keep up the good work and Thank you again for all your work.
@PanikGrafik2 жыл бұрын
How are you doing a year later? Still keeping up with the hobby?
@dimash832 жыл бұрын
Have you developed something after 2 years?
@beinline22785 ай бұрын
How you doing now?
@mugosquero2 жыл бұрын
02:17 What is C# 03:48 What is .NET 05:36 What is CLR 07:34 Using an IDE 08:53 Downloading IDE 10:24 Installing IDE 12:20 Start Page (Creating Console application project) 13:56 Explaining the interface basically 14:43 What we are seeing as code here? 16:33 What is static & void? 17:30 Warming Up 19:40 Setting up variables 23:21 Coding NumberGuesser 54:00 Converting CS project to EXE
@PhantomLord157 Жыл бұрын
thanks, this helps is your looking for 1 specific thing
@shuckle21345 жыл бұрын
you have one of the best gifts in the universe: being able to provide quality content that people actually learn from FOR FREE. takes a man with a really good heart to do that. Thank you Brad :)
@aviationbutterr4 жыл бұрын
If you already have all the visual studio and .NET stuff installed then just skip here: 12:21
@shaikhasad29117 жыл бұрын
just one word for this man HE IS LEGEND!!!!!!!! brad uploading a C# video best day ever!!
@1414tyty7 жыл бұрын
This channel is going to explode! I learn so much, and share these videos to anyone getting into programming.
@TraversyMedia7 жыл бұрын
Tyler Ferrara thanks! I really appreciate that more than you know. Sharing is just as helpful as donating
@kadogo77127 жыл бұрын
u're genius in explaining unlike many other lame programmers
@deveagle6696 жыл бұрын
I agree. I've become a HUGE Traversy fan. Even my wife is getting into development and following Brad's PHP videos. OOP PHP!!!!
@DennisIvy4 жыл бұрын
I had a job offer this week from a company that uses C#. Never used it so I was very happy to see that you you have a video on this! I’ll have to tear this thing apart so I can have more insight before I interview and make my decision :)
@gazell3s3 жыл бұрын
I'm coming from JavaScript, and I found this tutorial clear, informative and easy to follow. You didn't just cover the basic syntax of C#, but also gave a fantastic primer on refactoring code so it's cleaner and less repetitive. You're a legend, Brad!
@deancoding16236 ай бұрын
13:45 code is on the screen thank you Brad! Truly appreciate you and when I can afford it I will be a Patreon again.
@trentonbundy99155 жыл бұрын
I had the basics down for coding and this video not only improved my memory of the coding I had learned, but it helped me put it into action properly. No other tutorials have really done this and I appreciate the amount of help it gave me. I actually saw this video last year and just stumbled across it again while looking for some coding, and I must say that without this tutorial I would have struggled for much longer, I'm not pro, but I'm creating pretty good programs for friends and family for their business'. Thank you
@anshudhar9664 жыл бұрын
No annoying ads, No annoying subscribe message pop-ups, Just pure coding knowledge, Made easy to learn even for a layman!! Brad you just earned a sub! Cheers m8!!
@danieladetayo37117 жыл бұрын
I'm I the only one that upvotes Brad's videos before watching?
@Christian-lg7uu7 жыл бұрын
Daniel Ad Absolutely not. 😂😂🙋♂️🙋♂️
@JacquesvanWyk7 жыл бұрын
Daniel Ad me too hehe
@giovannimurgana89687 жыл бұрын
+Ellis Enobun itto
@andrewreese28617 жыл бұрын
Me too! I already know they're going to be good. I learn more watching these tutorials than I did in my coding bootcamp.
@saidakhmedagitaev7 жыл бұрын
just did that :)
@aaronr20006 жыл бұрын
Thanks for taking the time to teach others and for continuously saying "Don't let this scare you". I needed it and am now more confident!
@irfansyaiful59196 жыл бұрын
aaronr2000 i7
@dylanlasher59307 жыл бұрын
I have watched dozens of videos on how to set up the environment and run the basics. This is by far the best one, he gets right to the point.
@PaulRamnora2 жыл бұрын
I downloaded the FREE Community edition of Visual Studio 2019; and, can confirm that the above code works inside there, too/(as well as, in VS 2017). This is the first time I've ever gone and created a successful working C# program...; your videos are very helpful...; (I learned things from watching more than one of these). -Thanks! ;-) Some of the code is really simple to understand and remember...especially, if you've done any BASIC programming before. Myself, I've worked with BASIC, QBASIC, Visual BASIC 6, VBScript, -etc.; and, I've also worked with, Javascript; so, such constructs as: while(){}, if-else if-else, I had no difficulties with understanding at all...in fact, took to it pretty much like a duck takes to water(didn't learn anything interesting or 'new' there). Variable declarations: 'string, int,' all make perfect sense. Other parts of the code will take me some time to get used to remembering precisely how to use the correct language syntax, namely: converting strings: Int32.Parse(input)/if (!int.TryParse(input out guess)) Random random = new Random()/int CorrectNumber = random.Next(1,10) -etc. I find with learning to program using any programming language you are not yourself already familiar with...there will be slight/indeed, if not major...syntax differences from what you've known before; but, in actual fact, it's mostly similar; thus, if you already know one programming language fairly well...; it's not that extremely difficult to go pick up learning another. I guess, it makes for a really big difference between teaching those who already know how to program.../and, teaching those who are 'complete and total' beginners. Using Visual Studio 'intellisense', also, greatly helps...when it comes to discovering learning new syntax words/or, how to use it, properly. Of course, this is a very simple, and, straight forwards 'guess the number' program...I'm sure, it's going to get a hell of a lot more complex, in future, though...?!
@mohammadshweiki15115 жыл бұрын
Hey Brad, I am now professional as frontend developer thanks to your courses and videos, please make a full detailed course on programming in C#.Net. I will be the first to buy =)
@jkb3333 жыл бұрын
Hands down best coding tutorial I’ve ever done.
@Trellyy8096 жыл бұрын
I suggest that people who are trying to learn how to program , start with c# and visual studio it’ll make it way easier and you’ll understand things clearly with the visual aspects. Instead of starting with JavaScript and and a ide which you have to connect all the components yourself which is confusing for a beginner.
@goth14wx475 жыл бұрын
montrell pegues i started to dev with Visual Basic, I love so much visual studio IDE so I learned c# too and with c# you can build whatever what you want it’s like js but with a good IDE though
@charlielutz65082 жыл бұрын
Thanks Brad I just got started building a project in C# transitioning over from JavaScript and this was really helpful to see an example of the development process
@RemWantsAmbrosia6 жыл бұрын
This was perfect for me! I graduated from college but had a falling out with coding for a while because I got frustrated not being able to find work. Finally dragged myself back into programming again and this was the perfect refresher for me. Please do more c# content cause this as a great video.
@akshaygoel94177 жыл бұрын
I am not sure if someone has already mentioned about it, but the statement guess = Int32.Parser(Input) is unnecessary. !int.TryParse(number, out guess) : when this statement runs, then it puts the value into the guess variable.
@deslaya77772 жыл бұрын
have an interview for a .net development role this week. all my background has been in web and nodejs development so this video will be very handy! thank you and wish me luck!
@NebulaM573 жыл бұрын
Great video! Finally someone who doesn't chatter on with needless dialog. You were straight to the point! Thanks for sharing!
@ragnarlothbrock12947 жыл бұрын
I had decided to watch this video instead of a TV show, and I don't regret it one bit. It provided an excellent insight into a designer's mind. I liked how you stepped through your thought process. Very well done. I hope you will continue to make similar videos in the future.
@revillsimon5 жыл бұрын
Thanks Brad, as usual another great crash course. This video has helped me realise that coming into the C# / .NET space from my first language - JavaScript - is not too bad at all. All the best - Simon
@IBITZEE7 жыл бұрын
Unbelievable the number of programming stuff you master... and more incredible the excellent structure and logic of your videos... ha! by the way,,, the narretion is also one of the best I've come across in internet... !mark-x! congrats again.. and again... and again... !goto mark-x!
@dsabene27 жыл бұрын
Funny story, I just hung up the phone from an interview for a full stack developer position that is building MS web apps using C# ASP.NET MVC 5 frame works and then I got the notification of this video! It is destiny, thanks Brad!
@valentim-aires7 жыл бұрын
Dennis Sabene Good luck! I wish you all the best! :)
@dsabene27 жыл бұрын
João Victor thank you!
@ak47ava7 жыл бұрын
how did i t go amigo
@eduardofuentes97287 жыл бұрын
Well, this video is good to start but is so kinda far of what you gonna do, trust me, it turns out so different for web development.
@siddharthsonone57514 жыл бұрын
When Traversy Media had a new video, I first like it and then watch, cause I am so sure about the positive impact of these videos!
@deeboucher62272 жыл бұрын
Brad!! You are absolutely UN-believable! Your tutorials are so great! Thank you for everything you do! Bawstin Strong! ;)
@TobiasSteiner4 жыл бұрын
Many thanks kind sir. There is never anything wrong with taking the simplest approach to a very complex subject. Much appreciated.
@TheBurningofSolomon7 жыл бұрын
Wow dude, who knew learning new languages would be so easy? I am a self-taught programmer who learned Python, and made an app using Tkinter (it was really plain looking).... I had some background with Java, and I understood basically everything in this video! Just the syntax was slightly different! Thanks Traversy! Subbed
@jpk3lly3 жыл бұрын
Thanks, I really enjoyed this tutorial. I'm fairly new to C#, but you were easy to follow and have a good way of explaining things.
@geraldwatanabe22287 жыл бұрын
Amazing, not only in your presentation but finding time to produce all your videos!
@devolee83025 жыл бұрын
Dang Brad This was another amazing tutorial. Coming from JS background and watching your tutorial I was able to grasp C# so quick. Now, I tell everyone who wants to dive right into any languages and frameworks, "Go watch Traversy Media before you do anything else". One of them is my own husband lol.. You the best!! Hats off to you.
@hishamsomroz69133 жыл бұрын
Brad be like //This line will print hello world on the console print("Hello world"); Just for fun though, I really love his channel/videos. Great instructor. Always comment your code :)
@ugj56512 жыл бұрын
Hello! I appreciate you that you did this video, thank you! I from Russian and wanna say that your accent is super understandable!😍🥰
@cybomer6 жыл бұрын
Stellar job, Brad! I just graduated with my degree in Computer Engineering. This was a nice refresher since the last past of my coursework was mainly electrical engineering. You're awesome! I'll be watching more of your videos for sure! :D
@DebanjanKarmakar6 жыл бұрын
all of your videos are best..they are all properly explained, and the way you teach us is the best way a person could ever imagine to get from their teacher. Thank you for teaching us!! You are awesome!!
@DarkMagicDesigner9 ай бұрын
Thank you! You explain and show things in a simple relatable way. I also appreciate a bit more depth for an introduction than hello world.
@AMBafoon5 жыл бұрын
this is a really neat spin on the basics of coding it's short but teaches quite a bit
@daniyalawan77597 жыл бұрын
I was really waiting that you create c#, .net or ASP MVC vidoes ...Now here u go ... Thanks a LOT !!!!!!!! ...
@michaelyu897 жыл бұрын
Excellent breakdown on C# there amazing crash course! I took this course a few years ago, and completely lost all my knowledge on this. You're you're crazy better than my professor at the time!
@mapa50002 жыл бұрын
Excellent tutorial !!! ...all the basics in 60 minutes.... I loved it . Thank you Brad for sharing your knowledge
@Fadhelalmalki2 жыл бұрын
Thanks buddy! that was so helpful your way in explaining is FANTASTIC I just was randomly watching any videos about C# and found my self finished your video 😅
@reichardt226 жыл бұрын
I learned more in the last hour than I did in my C# class at San Diego City College. Thank you!!
@alexyap46867 жыл бұрын
whoa i've been watching your videos for about 2 years now and i've been learning quite a lot from then but this is actually the first time i've seen your face!
@jawad97574 жыл бұрын
To anyone wanting to get into c# on linux or macos, the dotnet core framework has actually been open source for a while, and the compiler too
@caybokotze7 жыл бұрын
Bro. Thank you! C# is becoming very popular in South Africa...
@Xanco787 жыл бұрын
Yes, yes and yes. I love C# and I want to learn more of it, thanks mate, I'm making my first website and thanks to you I have a progressed a lot. A full C# course would be amazing. One thing tho, I like crash courses, but I think that the ones which are divided in parts are better, it is easier to keep the information. Again, thanks for everything man, you deserve heaven. Peace.
@marjaysonsanagustin7 жыл бұрын
A very informative video for beginners like me, thank you so much! "Drive the plane into the woods" - this made my day Brad xD
@dr__ey Жыл бұрын
thanks so much for this Brad!!! was super cool to go through this :') was easy to understand!!!
@sjfrank885 жыл бұрын
Wow this is the first video Ive watched here and it was a ton of help. Better then the two I watched in PluralSite.
@salaryunis22544 жыл бұрын
Amazing tutorial! with one video I feel much more confident with C#.
@MCplattipus7 жыл бұрын
This is an amazing video, needed to review for a potential job and this helped so much that I can't help but praise you. I am fluent in C++ and python and this was perfect for me.
@HotDoggyStand4 жыл бұрын
I absolutely love how you did it the long way initially, this helped me to better understand the purpose of each function ! Thanks so much! keep making videos!
@justinlinwoodrossakarythor633 жыл бұрын
If you want to develop a Speech Recognition, view these tutorials: kzbin.info/www/bejne/kJzCoXSlmJmehKs
@ai.2014 жыл бұрын
One word phenomenal, learn almost all the basic stuff in this video.
@joneswafula2 жыл бұрын
I love this video! It made c# seem so easy and beginner friendly! Kudos Man!
@TwstedTV4 жыл бұрын
Waaay better than to boring Hello World crap everyone is doing. At least you created something while showing examples of how to build something simple. much respect to you for doing that. thanks. im a newbie to C#
@cesarserrano97723 жыл бұрын
Thank you so much Man for living this content because IT is really hart to find stuff like this in my native language
@JoeShmo-12345 жыл бұрын
Dude, I'm a js and react dev, pretty familiar with ruby and java as well, C# is dope so far. Thanks for the quick lesson!! Btw ive taken your react course on udemy, if anyone needs to brush up on react check this guy out!
@MaTtRoSiTy2 жыл бұрын
Thank you, I am just starting and have been getting overwhelmed with terminology to the point I find my mind wandering. I was looking for something practical I could do to give me something tangible and so I can see how basic code words and try adding to it myself to see if I get the expected outcomes. This was very enjoyable as I could finally do something I can see working and not get too bogged down with every technical term (at least not right away).
@sven._.27397 жыл бұрын
i have played this game for 5 hours now, best game of the year!
@hadibq2 жыл бұрын
Great way to teach! you're a natural born educator! Cheers!!
@mudassirshehzad9572 жыл бұрын
Worth Watching! Just got an understanding in just 55 minutes.
@salkjshaweoiuenvohvr3 жыл бұрын
Huge time saver! Thanks Brad. You're my MVP today!
@hockeyandtacos51532 жыл бұрын
Tip for beginners using comments, please don’t comment after every line, this is very redundant because let’s say you are just printing hello world, you do not need a comment saying “hello world message”. If you do end up needing to write this much comments because your code is unreadable, you should fix it rather than commenting about every line.
@eladkapuza45516 жыл бұрын
I have just crashed into this one. Awesome video. You have just C-sharpen my programming skills. Thanks Man!!!
@megavolkan7 жыл бұрын
Man i got into coding by watching your tutorials for php on udemy, now learning C#. I'm greatful :) I hope you cover ASP.NET web programming in the follow up.
@AbhishekRajput267 жыл бұрын
Great place to begin C#. There is new Microsoft platform called as '.Net Core' which can be used for cross platform (Windows, Linux and IOS etc.) developments. In short C# is now available for any platform like Java and it has it's own benefits over Java. .Net for Windows, .Net Core for cross platform and Xamarin for Mobile development. Learn C# once and use it everywhere :) :)
@66farisfaris3 жыл бұрын
Thank you!! This was exactly what I needed! I know basic C# from Unity, but this really helped translate that knowledge to a new context
@shrutiambashtha61966 жыл бұрын
thank u so much!! no one can explain like this in such a less time.
@Ajithkumar-dq1qc5 жыл бұрын
yeah
@AlexandarJL3 жыл бұрын
Thanks a lot! Best 60 minutes with C# so far!
@Didanihaaaa11 ай бұрын
Fantastic job! Could you provide a similar explanation for a web application? Your previous response was incredibly useful. I've done a lot of searching, and this is the best starting point I've come across.
@alexyep18833 жыл бұрын
Thanks so much Brad. As always pretty high quality content!
@ladybug27503 жыл бұрын
this taught me alot coming out of this i am able to write a super basic program of you guess the number you win else, you lose :) "while" is a tough one for me and bool and making new methods :c everything else is nice that i finally know how to do them
@kerplunkboydotNET7 жыл бұрын
I have my own channel about C# too, its in portuguese so far, but I'm planning to do one in english as well. I'm not ashamed, but proud to say that you have been an inspiration and a good portion of what I'll do will be mirroring(copying) you. The twist is I will do it in a less formal conversation.
@DjoumyDjoums7 жыл бұрын
You can also write Console.WriteLine($"{name} is {age}"); for string concatenation, it's a new neat feature of C# that is more readable than "{0} is {1}".
@BoredThatsWhy6 жыл бұрын
Hello. Can someone explain to me the 34:12 about Int32.Parse ? I am not sure how or why Int32 and Parse was used in relation to the 'guess' number. Also what did that comment mean? // Cast to int and put in a guess ?
@jerichiyo4 жыл бұрын
You're awesome!, I hope you make more tutorials about c# I really wanted to learn more about this stuff. Thank you!
@austindalton2714 Жыл бұрын
Older video, but was able to follow great. Thank you for the help
@Goalringmod277 жыл бұрын
I just learnt the basics from this video (my first time coding), and it all seems very logical and fun for now! :D
@theeboss937 жыл бұрын
So glad I have discovered this channel, continue with the ASP.Net videos please!
@TheCorvusCrypt4 жыл бұрын
Hi Brad, just want to say thank you so much for this video i really learned alot and you make learning code so much more fun. Keep up the great work!
@justinlinwoodrossakarythor633 жыл бұрын
If you want to develop a Speech Recognition, view these tutorials: kzbin.info/www/bejne/kJzCoXSlmJmehKs
@Th3BlackPhoenix5 жыл бұрын
I have a question at 37:22 line 63: Why he don't use } else { ..... } I have some experience with LUA, Javascript and very little with C#, I was trying to do this exercise alone and noticed that while i was using } else {, he was not... Why?
@muhammadusman95903 жыл бұрын
Hi Brad, Really wonderful way of explanation..
@tomaslopez76906 жыл бұрын
Please, could you do a C# tutorial series?
@MehediHasan-nq4iu7 жыл бұрын
Thanks Brad for making nice lecture on C#. We are really expecting some lectures from you on web developing in asp.net MVC.
@md.shahinurrahman7474 жыл бұрын
Hi brad! I love your teaching style. I've watched many many tutorials from other guys on programming, what i have next noticed they actually talk more than doing things and they also confined within that boaring "Hello World". But you showed something different by using some extra functions and its usage. your teaching style is totally different. Thanks for making such video. Its a request please make some more video with explanation and some video on Theory of OOP.
@henry_sparks3 жыл бұрын
Short and packed with valuable info. Thank you so much! This was a great tutorial and quite intuitive. I picked up a lot.
@rahulraniwala2 жыл бұрын
Please make more videos like this to practice making console application in C# Thank you 💗
@antoninaparadise78556 жыл бұрын
Thank you so much , Brad! I just started learning C# and your lesson makes it so easy ! Love u
@justinlinwoodrossakarythor633 жыл бұрын
If you want to develop a Speech Recognition, view these tutorials: kzbin.info/www/bejne/kJzCoXSlmJmehKs
@herantd5 жыл бұрын
Damn, it will be hard to get used to specifying variable datatype after Python.
@cretu265 жыл бұрын
Exactly! :)
@javier1234543214 жыл бұрын
But it's so nice to catch type errors without having to wait for your program to run everything up to when that function is called.
@resantosp3 жыл бұрын
That's my problem right now lol
@LinuxBadukNMore6 жыл бұрын
Brad. Id love to see a whole series on C# and DotNet core 2. It would be really cool if you also did it using only VS Code. Using all three to make a full stack web application. That would be awesome! Thanks for all you do Brad. You're my go to guy for learning development strategies.
@sz34766 жыл бұрын
Very nice video. Great approach to teaching. Clean coding style. Perfect for basic understanding. Much appreciated!
@asosabah41002 жыл бұрын
Thanks Brad, you are really descriptive and helpful.
@pyramlinum95146 жыл бұрын
A Question: I'm about 20:00 in and when I run my program, it closes immediately, rather than waiting for a button input like it shows in the video. Is there a way to enable this feature so I know I'm doing things right? Assuming it's a feature, that is. Thanks for your assistance. Edit: Never mind, at 21:00 the video states you can use Ctrl+F5. Don't mind me.
@soulpunk10405 жыл бұрын
You can also add this as a last line of code: Console.ReadKey(); This will prevent the screen from closing until you press any key. Or: Console.ReadLine(); This will prevent the console from closing until you press enter
@gizelle-s7 жыл бұрын
Your channel is awesome! Keep up the good work.
@sunilanthony177 жыл бұрын
This is awesome Brad. Finally, you flip to my side of the world..LOL. This is a good demo for a beginner. Love your video's. BTW..You can do almost anything with Visual Studio Code. Just install the dot net template and do a dotnet new console.
@TraversyMedia7 жыл бұрын
I love it. I am obviously still learning though. I hope to do more advanced videos soon