+ 4
Functions VS Methods
What is the difference between a function (like in Python) and a method (like we have here, in C#)? Thank you for the help ;)
4 Respostas
+ 7
Function if a piece of code you can call. Method is a function that is a member of some class.
0
If I am correct here, the only difference is the way it's named.
0
No difference, "method" in C# and Java is "function" in C, C++ and other languages, but they are exactly the same
- 2
Actually method is a group of statement. that performed a specific tasks. but function also made and done a specific tasks. for me it's works same. but code well be different.