šŸš€ Master C# and .NET programming EASILY with our best-selling C# Masterclass: https://bit.ly/47Hk3u7

šŸ”„ WANT to LEARN everything needed to Jumpstart your C# CAREER? Then you have come to the right place! In this 7 HOUR course you will learn everything you need for the basics of C# development!

Online C# Editor:
https://www.programiz.com/csharp-programming/online-compiler/

Enjoy our full 7 hour long c# course video!

We’ll make sure to make a Developer out of you in no time!

Timestamps:
00:00:00 Welcome to this 7-hour C# course!
00:04:26 What is C#?
00:19:53 Changes in NET 6
01:11:15 A C# Exercise
01:15:22 Methods: The theory
01:22:39 Methods: Creating Methods
01:30:53 Methods: Return Value
01:39:35 User Input
01:48:22 Catching Errors
02:02:54 Operators
02:19:59 If statements
02:33:50 Use TryParse
02:41:11 If statements & nested if statements
02:50:44 Switch Case
02:57:14 If Statements: Shortcut
03:06:16 Loops
03:11:49 For Loops
03:18:37 Do While Loops
03:26:15 While Loops
03:32:06 Break & Continue
03:38:42 Object Oriented Programming
03:41:49 Creating Classes
03:52:38 Constructors
04:04:20 Multiple Constructors
04:15:45 Properties
04:34:56 Extending Properties
04:53:18 Members
05:08:35 Arrays
05:12:38 Using Arrays
05:19:38 Foreach Loop
05:29:02 2D Arrays
05:43:01 Nested For Loops
05:54:01 Jagged Arrays
06:02:58 ArrayLists
06:12:23 Debugging
06:24:21 Debugging: In depth
06:34:40 Debugging: Fixing Bugs
06:44:52 Defensive Programming
06:58:54 Thank you for watching!

So, what is C#?
C# (pronounced “See Sharp”) is a modern, object-oriented, and type-safe programming language. C# enables developers to build many types of secure and robust applications that run in .NET. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers. This tour provides an overview of the major components of the language in C# 8 and earlier. If you want to explore the language through interactive examples, try the introduction to C# tutorials.

C# is an object-oriented, component-oriented programming language. C# provides language constructs to directly support these concepts, making C# a natural language in which to create and use software components. Since its origin, C# has added features to support new workloads and emerging software design practices. At its core, C# is an object-oriented language. You define types and their behavior.

C# programs run on .NET, a virtual execution system called the common language runtime (CLR) and a set of class libraries. The CLR is the implementation by Microsoft of the common language infrastructure (CLI), an international standard. The CLI is the basis for creating execution and development environments in which languages and libraries work together seamlessly.

A type defines the structure and behavior of any data in C#. The declaration of a type may include its members, base type, interfaces it implements, and operations permitted for that type. A variable is a label that refers to an instance of a specific type.

To learn more, make sure to watch the video, and we promise you that you’ll become a C# developer by the end of the course! Have fun!

#csharp #coding #tutorial #learn #microsoft #net

TAGS
c#,.net,c-sharp,csharp,unity,programming,visual studio,c sharp,learn c#,c# programming,c# tutorial,c# for beginners,learn c# programming,c# tutorial for beginners,c# course,tutorial,coding,core,how,how to,learn,visual studio 2022,web development,c sharp tutorial,learn c# for beginners,learning c#,csharp tutorial for beginners,c# tutorials,beginner,learn c# for unity,learn c# in one video,csharp tutorial,.net framework,Complete 7 Hour C# NET 6.0 Course

tutorialsEU offers you free video tutorials about programming and development for complete beginners up to experienced programmers.
This includes C#, Unity, Python, Android, Kotlin, Machine Learning, etc.
Stay tuned and subscribe to tutorialsEU: https://goo.gl/rBFh3x

Android: https://www.youtube.com/channel/UCjHtatblxvHvtj2rkqlkk8Q
C#: https://www.youtube.com/channel/UCqCnjtxdlG9qEgFJIUeLJNg
Unity: https://www.youtube.com/channel/UCajMHiOEuARZm6t2byQRtIA
Facebook: https://www.facebook.com/TutorialsEU-109380204093233
LinkedIn: https://www.linkedin.com/company/tutorialseu
Discord: https://discord.gg/zwbrpCNB2M

source

49 Comments

  1. 4:30:16 There is an error coming up. He says that private methods can be called from the Box class itself or from classes that inherit from the Box class: that is incorrect. Private methods can only be called from the class they are defined in, not from derived classes.

    The access modifier that would allow a (non-static) method in the Box class to be called from the Box class itself or from classes that inherit from the Box class is … protected.

    I thought maybe he just messed up once, and wasn't going to mention it. But a minute or two after he says it wrong the first time, he says it wrong again.

  2. I am now 4 hours 30 minutes in and I still have not seen anything from C# 10. What I see is old, and I believe all of it would work back in C#6. There are no features that were introduced in C# 10, or C# 9, or C# 8, etc.

    I mention this because I figured that by now they would have shown simple updates to the basic things they have covered. For example, they covered variables, but not the newer feature of nullable value types; they covered outputting strings, but not the newer feature of string interpolation; etc. These features have been available for the past several versions of C# and are useful at the beginning level (these are not "advanced" topics such as async and await).

  3. 4:10:05 That is the old and inferior – very old and very inferior – way of doing it. They introduced optional parameters I think more than a decade ago.

    Even with what you have so far on screen, the better way to do it is:

    public Human(string firstName, string lastName, string eyeColor, int age = 0)

    Now age is an optional parameter. If the caller passes an argument for age (say, 32), the value they passed is used: if they call the constructor without giving an argument for age, then the default value of 0 (specified in the method signature using … = 0) is used.

    The 1 parameterized constructor with an optional parameter does the job of the 2 parameterized constuctors you have.

    And now you are making it worse. You are asking the developer to create even more paramterized constructors, in case another parameter is not given a value on instantiation.

    So your developer will have 5 or 6 parameterized constructors instead of just 1.

    Worse still, if you want to take all possibilities into consideration, you would have to create a slew of pamaterized constructors, such as:

    1) Caller passes only firstName

    2) Caller passes only lastName

    3) Caller passes only eyeColor

    4) Caller passes only age

    5 ) Caller passes only firstName and lastName

    6 ) Caller passes only firstName and eyeColor

    7 ) Caller passes only firstName and age

    8 ) Caller passes only lastName and eyeColor

    9 ) Caller passes only lastName and age

    10) Caller passes only eyeColor and age

    11) Caller passes firstName, lastName, and eyeColor

    12) Caller passes firstName, lastName, and age

    13) Caller passes lastName, eyeColor, and age

    14) Caller passes firstName, lastName, eyeColor, and age

    But if you use optional parameters for all 4 (firstName, lastName, eyeColor, and age), then a single constructor would handle all of the above cases.

    And worse again, if you add one more field, such as gender, you are going to have to add more parameterized constructors.

    Finally, you have a lot of duplicated code in your many parameterized constructors. For example, multiple parameterized constructors will have code to set the value for firstName and lastName. I mean, we know there is duplicated code because you copy/pasted one constructor to make another one, doing that several times.

  4. 1st task I've done like this :
    public class Task
    {
    public static void Main()
    // The task is to create a program to swap two numbers.
    {
    int a = 1;
    int b = 2;
    int c = 3 – a;
    a = c;
    int d = b – 1;
    b = d;
    System.Console.WriteLine("a is = " + c + ", " + "b is = " + d);
    }
    }

  5. This is a really good tutorial for someone who is beginner-mid range. Covers all the concepts clearly. I just had one doubt:

    When using Getters and setters we do not allow another class to change the values directly. We also can adjust the conditions and ensure that variables are changed only if right values are provided.

    But You showed a shorter version where we define a property (prop double tab one).

    If a class can modify the property directly, what is the use of this? Cant we just let them modify the variable? OR we can still se conditions this way also?

  6. God, more console apps. USELESS! Windows is a graphical user system and you people trying to teach others how to write code are going in the wrong direction. C# is about writing apps for windows 11 and 10. I could care less about console apps.

  7. Hello, please i have a question. I bought the C# master class course on Udemy. what is the difference between that and this free course? im concerned becasue i wanna be sure that i spend my time learning the right course that will help me land a job professionally. thanks.

  8. 1:29:18 so good explained šŸ‘šŸ‘ I saw a lot of programming courses without any explanation….just switching phrases i thought…it could be so much easier like you explained it..loved it

Leave A Reply

Please enter your comment!
Please enter your name here