C# Crash Course | The Ultimate C Sharp .NET Tutorial for Beginners

preview_player
Показать описание
The ultimate C# (C Sharp) tutorial on YouTube! Learn C# .NET in under 3 hours and start building apps on the .NET framework.

In this 3-hour crash course, we'll dive into the C# (C Sharp) .NET programming language.

Topics:
- Installing Visual Studio
- Outputting to the console
- Variables and data types
- Math Operators
- Comparison Operators
- Logical Operators
- Conditional statements (if, else-if, else)
- Arrays and collections
- Loops
- Methods (functions)
- Classes and objects
- Exception handling (try-catch-finally)
- ...and more!

---
#csharp #dotnet #codingtutorials #csharptutorial #csharpprogramming #csharptutorial #csharpproject

----

LIKE this video, SUBSCRIBE, and HIT the BELL ICON to stay updated on future crash courses, tutorials, and reviews!
Рекомендации по теме
Комментарии
Автор

That's what i call a crash course, covered literally everything you need on c# as a beginner, thank you for your time and effort!

Kahramanb
Автор

Introduction to C# and .NET (0:00)
What is C#? (0:15)
What is .NET? (2:15)
Why use C#? (5:15)
Setting up Visual Studio (8:00)
Installing Visual Studio (8:15)
Creating a new C# project (15:00)
Variables and Data Types (15:00)
Declaring variables (15:15)
Data types (18:00)
Type conversion (22:00)
Operators (25:00)
Arithmetic operators (25:15)
Comparison operators (28:00)
Logical operators (30:00)
Control Flow Statements (35:00)
If/else statements (35:15)
Switch statements (42:00)
Loops (47:00)
For loops (47:15)
While loops (52:00)
Do-while loops (55:00)
Functions (55:00)
Defining functions (55:15)
Calling functions (58:00)
Parameters and arguments (1:02:00)
Return values (1:05:00)
Object-Oriented Programming (OOP) (1:08:00)
Classes and objects (1:08:15)
Properties and fields (1:15:00)
Methods (1:20:00)
Constructors (1:25:00)
Inheritance (1:30:00)
Polymorphism (1:35:00)
Error Handling (1:40:00)
Try-catch blocks (1:40:15)
Custom exceptions (1:45:00)
Conclusion (1:47:28)

keisanki-_-
Автор

The only crash course that hasnt made me wanna fall asleep and he explains it so well even a 14 year old like me can understand

LubricatedMelon
Автор

That really is a crash course. Concise and comprehensive. Cheers mate!

PS_Tube
Автор

I'm a Mid Python Developer who is have a C# Interview and task. This is my first-time writing C#, but I swear it's one of the best tutorials i have ever seen. Keep going man.

Ahmedesmail
Автор

Thanks for the video it's a real crash course. Best part is not specifying the highlight the most used feature. The video content is describing all the topic with equal priority. Love from Bangladesh 🐅

Md.Al-Amin-jyhw
Автор

Thank you for a great video course!! It was very easy to follow and your explanations were clear and concise - thank you!!

brewferg
Автор

Be sure to comment below to let us know what other types of videos you'd like to see on this channel.

coderversity
Автор

Very nice intro to C# bud, thanks alot!

MeezanTheFairBloke
Автор

Great course for a refresh, could you dive more into oop topics like polymorphism inheritance enum and generics maybe?

ozkidagoat
Автор

Amazing video! Could you do a video on creating NinjaTrader indicators and/or strategies as they use the C# langueage too. Maybe even delve into creating add-ons for their software.

me-duh
Автор

Bro this is a dope course many thanks to you !

lindajazz
Автор

1:49:49
*pls ignore, just saving this for study purposes.

yuyeesaur
Автор

Thank you for this nice tutorial. Could you make a tutorial to cover the methods for beginners.(creating methods, calling methods, returning type and none returning types and etc.)

habibshafaq
Автор

01:16:00

I'm getting an error even though its typed mostly like yours (Use of unassigned local variable dayName):

int day = 3;
string dayName;

switch (day)
{
case 1:
dayName = "Monday";
break;
case 2:
dayName = "Tuesday";
break;
case 3:
dayName = "Wednesday";
break;
case 4:
dayName = "Thursday";
break;
case 5:
dayName = "Friday";
break;
case 6:
dayName = "Saturday";
break;
case 7:
dayName = "Sunday";
break;
}
Console.WriteLine($"Today is {dayName}"); // ERROR Generates from this line for 'dayName'

KevenPirritano
Автор

Ive tried the code and namespaces dont link. it says "the type or namespace name 'c_sharp_crash' (as seen in ur github) could not be found.

Oliistf
Автор

01:13:00 What if a number isn't inputted? SO I went to Google and after a few failed attempts got this to work (NOTE to beginners such as myself \n is a line break):

static void ConditionalStatements()
{
STATEMENTS\n");
Console.WriteLine("How old are you?: ");
var ageAsAString = Console.ReadLine();
int age;
bool parseTrue = int.TryParse(ageAsAString, out age);

if (parseTrue)
{
if (age < 18)
{
Console.WriteLine($"You're a minor of {age} years old.");
}
else
{
Console.WriteLine($"You're an adult of {age} years old.");
}
}
else
{
Console.WriteLine("This is not a number.");
}
}

KevenPirritano
Автор

Personally, I like C sharp a lot but wouldn't say it's simple. Python is simple lenguage, Kotlin is elegant, C# is somewhere in between.

mishaed-pmxx
Автор

I have a quick question. Do you do videos for action personal training? You sound the same as the instructor

getmovingamerica
Автор

"Dividing by zero will cause an error."

Me thinking, "How can I just show it equals zero instead of displaying a random error message?"

int num3 = 55;
int num0 = 0;
int overideZero = 0;
try
{
int quotient = num3 / num0;
Console.WriteLine(quotient);
}
catch (DivideByZeroException)
{

}

KevenPirritano