Are methods and functions the same?
I'll answer
Earn 20 gold coins for an accepted answer.20
Earn 20 gold coins for an accepted answer.
40more
40more
Works at the International Committee of the Red Cross, Lives in Geneva, Switzerland.
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-09 12:30:14
评论(499)
Helpful(122)
Helpful
Helpful(2)

Cameron Hall
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.