do you call them functions, procedures or methods?

Posted by lowlyintern on Stack Overflow See other posts from Stack Overflow or by lowlyintern
Published on 2010-05-07T07:01:56Z Indexed on 2010/05/07 7:38 UTC
Read the original article Hit count: 167

Filed under:
|

consider a standard c# 'function'

public void foo() { //some code }

In c or c++ this is called a 'function' - even if taking no parameters and returning no value. In another language maybe it would be a 'procedure'. In object orientation speak it would be called a 'method' if a class member. What would be the correct term to use in c#?

© Stack Overflow or respective owner

Related posts about object-oriented

Related posts about theory