C# abstract classes and methods in 8 minutes

Поділитися
Вставка
  • Опубліковано 8 лип 2024
  • 🔥 ABSTRACT Classes and Methods are a thing in C#? And what even are they? What does abstract even mean in this context? Well let us find out!
    🚀 C# Progress Academy - Become a job-ready C# and Angular web developer to land your dream developer role: bit.ly/45vbPUg
    We'll make sure to turn you into a true developer in no time!
    Timestamps:
    00:00 Introduction
    00:20 What does abstract mean in C#?
    01:54 Let us set up something a bit abstract
    04:30 This one is for you!
    04:58 Is there anything else? Oh YES there is!
    07:48 Thanks for watching!
    C# abstract classes and methods in 8 minutes
    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.
    And what is abstract?
    The abstract modifier indicates that the thing being modified has a missing or incomplete implementation. The abstract modifier can be used with classes, methods, properties, indexers, and events. Use the abstract modifier in a class declaration to indicate that a class is intended only to be a base class of other classes, not instantiated on its own. Members marked as abstract must be implemented by non-abstract classes that derive from the abstract class.
    To learn more, make sure to watch the video, and we promise you that you'll become a better developer by the end of the video! Have fun!
    And thank you LAKEY INSPIRED for these amazing songs that we use in all our videos! @LAKEYINSPIRED
    #csharp #coding #tutorial #learn #microsoft #net #abstract #class #method
    TAGS
    c#,.net,c-sharp,csharp,programming,visual studio,c sharp,learn c#,c# programming,c# tutorial,c# for beginners,learn c# programming,c# course,tutorial,coding,.net core,class,code,java tutorial,object oriented programming,abstract,abstract class in java,method,abstract class,abstraction in java,abstract classes,java abstract class,c# abstract class,abstract class c#,abstract class example,abstract classes in java,c# abstract classes and methods
    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: goo.gl/rBFh3x
    C#: / @tutorialseuc
    Facebook: / tutorialseu-1093802040...
    LinkedIn: / tutorialseu
    Discord: / discord

КОМЕНТАРІ • 8

  • @tutorialsEUC
    @tutorialsEUC  10 місяців тому +1

    🚀 C# Progress Academy - Become a job-ready C# and Angular web developer to land your dream developer role: bit.ly/45vbPUg

  • @Drougar108
    @Drougar108 9 місяців тому +2

    Thank you i had 4 hours of sleep and i needed to get some more abstact and interface info into my brain, and as it is this weeks class subject and im trying to cram it in there.

  • @sanjaytharan622
    @sanjaytharan622 Місяць тому

    This one is a saver!!!
    Thanks alot❤

  • @fakeITDevTeam
    @fakeITDevTeam 9 місяців тому

    Clarly explained. Thank you. Anyway, is this channel still active or do you move to the tutorialseu?

  • @technocrazy9528
    @technocrazy9528 Місяць тому

    At ua-cam.com/video/qgU2ojOKLP8/v-deo.html you say that in an abstract class we can always use virtual so even if Animal is not implementing the IAnimal interface, we can still use virtual on a method to have some default behaviour and the derived classes Dog and Cat do not have to implement MakeSound, they could implement it. But if we want to say that they have to implement it, then we have to make sure Animal implements IAnimal Interface. But with this too, if we have virtual MakeSound method in Animal class with default implementation, the derived classes work even without implementing MakeSound(). Why is this?

  • @imranjalali
    @imranjalali Рік тому

    I think there is no need to define string as nullable object because it is already null by default if no value if given.

  • @WorstDeveloper
    @WorstDeveloper 5 місяців тому +1

    Why would you use abstract classes instead of interfaces?

    • @iamdev1195
      @iamdev1195 Місяць тому

      for direct usage :
      for eg -
      Math m = new Math ();
      var r = m.round(3.12); // this does not make sense
      that is why we directly use the function like - abstraction
      Math.Round(3.12);