Build a C# .NET Application in 60 Minutes

preview_player
Показать описание
In this video we are going to talk about what C# and the .NET framework are and then jump right in and install Visual Studio 2017. We will be creating a Windows console application from absolute scratch, start to finish. We will build a number guessing game that you can actually compile and give to your friends! Here are some of the things you will be learning...

What is C#, .NET, CLR?
Installing Visual Studio Community 2017
Setting up a console project
Namespaces, classes, functions
Variables with types
Console text, colors & user input
If statements & while loops
And more!

CODE: Code for this video

SPONSORS:

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

Guys, if you want to include "10" you have to do "random.next(1, 11)" Sorry about that. Otherwise it is 1 - 9

TraversyMedia
Автор

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.

ericmann
Автор

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.

dogbyte
Автор

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 :)

shuckle
Автор

just one word for this man HE IS brad uploading a C# video best day ever!!

shaikhasad
Автор

This channel is going to explode! I learn so much, and share these videos to anyone getting into programming.

tyty
Автор

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 :)

DennisIvy
Автор

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!

aaronr
Автор

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!

gazells
Автор

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 =)

mohammadshweiki
Автор

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!!

anshudhar
Автор

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

mugosquero
Автор

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

trentonbundy
Автор

Hands down best coding tutorial I’ve ever done.

jkb
Автор

I'm I the only one that upvotes Brad's videos before watching?

danieladetayo
Автор

Thanks so much for cranking quality content out so fast man. I was just thinking about learning C# and this video pops up. Everyone watching your videos should white-list your channel on their ad-blocker.

coobybooby
Автор

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.

deancoding
Автор

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.

dylanlasher
Автор

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.

RemWantsAmbrosia
Автор

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...?!

PaulRamnora