QuesHub > 方法 > 函数 > 术语 > ASK DETAIL

Is a function the same as a method?

Benjamin Torres | 2023-05-05 12:30:26 | page views:1742
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Alexander Adams

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

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.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4