Is a function the same as a method?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at Apple, Lives in Cupertino. Graduated from University of California, Berkeley with a degree in Electrical Engineering.
Both are same, there is no difference its just a different term for the same thing in C#. Method: In object-oriented programming, a method is a subroutine (or procedure or function) associated with a class. With respect to Object Oriented programming the term "Method" is used, not functions.
2023-05-10 12:30:26
评论(499)
Helpful(122)
Helpful
Helpful(2)

Benjamin Patel
QuesHub.com delivers expert answers and knowledge to you.
Both are same, there is no difference its just a different term for the same thing in C#. Method: In object-oriented programming, a method is a subroutine (or procedure or function) associated with a class. With respect to Object Oriented programming the term "Method" is used, not functions.