Share via

learning c#

Luis vicente 61 Reputation points
2022-03-03T02:08:26.08+00:00

Hello, the truth is that I am a beginner in C# and I have a doubt, the truth is that I don't know if I should learn things like polymorphism, delegates and inheritance or learn the methods such as these , Since I have only concentrated on polymorphism, inheritance, program flow etc and I have not concentrated on the methods.

179417-image.png

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.


2 answers

Sort by: Most helpful
  1. Karen Payne MVP 35,606 Reputation points Volunteer Moderator
    2022-03-04T10:04:57.87+00:00

    If you are serious in learning how to program properly, my recommendation is to purchase C#9 in a Nutshell which will put you on the right path for learning concepts in the proper order rather than attempting to go about learning without proper direction.

    Was this answer helpful?

    0 comments No comments

  2. Jack J Jun 25,306 Reputation points
    2022-03-04T08:09:31.32+00:00

    @Luis vicente , polymorphism, delegates and inheritance do not need to use specific method to achieve it.
    You can refer to the following article to know how to use them:
    Polymorphism
    Delegates (C# Programming Guide)
    inheritance

    The method you metioned is usually used to create instance.

    This example has a good example which can also show the polymorphism.

    Best Regards,
    Jack


    If the answer is the right solution, please click "Accept Answer" and upvote it.If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.