Click here to Skip to main content
15,888,283 members
Home / Discussions / C#
   

C#

 
GeneralRe: Difference between Methods and Functions? Pin
0x3c010-Jul-09 9:43
0x3c010-Jul-09 9:43 
GeneralRe: Difference between Methods and Functions? Pin
PIEBALDconsult10-Jul-09 13:44
mvePIEBALDconsult10-Jul-09 13:44 
AnswerRe: Difference between Methods and Functions? Pin
PIEBALDconsult10-Jul-09 9:19
mvePIEBALDconsult10-Jul-09 9:19 
GeneralRe: Difference between Methods and Functions? Pin
harold aptroot10-Jul-09 10:04
harold aptroot10-Jul-09 10:04 
GeneralRe: Difference between Methods and Functions? Pin
DaveyM6910-Jul-09 11:26
professionalDaveyM6910-Jul-09 11:26 
GeneralRe: Difference between Methods and Functions? Pin
PIEBALDconsult10-Jul-09 13:49
mvePIEBALDconsult10-Jul-09 13:49 
GeneralRe: Difference between Methods and Functions? Pin
harold aptroot10-Jul-09 14:12
harold aptroot10-Jul-09 14:12 
GeneralRe: Difference between Methods and Functions? Pin
PIEBALDconsult10-Jul-09 17:57
mvePIEBALDconsult10-Jul-09 17:57 
harold aptroot wrote:
It's not like it actually matters though, a rose by any other name would smell as sweet


Absolutely.


I sit corrected; the C# spec says:

"
7.4 Function members
Function members are members that contain executable statements. Function members are always members of types and cannot be members of namespaces. C# defines the following categories of function members:
• Methods
• Properties
• Events
• Indexers
• User-defined operators
• Instance constructors
• Static constructors
• Destructors
"

So as far as C# is concerned, "function" is a rather generic term. I had been using the term "member" for that meaning.


However, I still feel that we need to consider non-OOP and "multi-paradigm" languages when discussing this topic. Pascal clearly has functions and procedures, C has only functions (as a concept, not as a keyword), C++ has functions and members.

The purpose of defining such concepts and terminology is so we may communicate.
GeneralRe: Difference between Methods and Functions? Pin
Luc Pattyn10-Jul-09 13:22
sitebuilderLuc Pattyn10-Jul-09 13:22 
GeneralRe: Difference between Methods and Functions? Pin
PIEBALDconsult10-Jul-09 13:46
mvePIEBALDconsult10-Jul-09 13:46 
AnswerRe: Difference between Methods and Functions? Pin
Alan Balkany13-Jul-09 4:23
Alan Balkany13-Jul-09 4:23 
QuestionDataGridView add row performance Pin
Dan Neely10-Jul-09 8:45
Dan Neely10-Jul-09 8:45 
QuestionIVR Pin
kenant10-Jul-09 8:05
kenant10-Jul-09 8:05 
QuestionRe: IVR Pin
harold aptroot10-Jul-09 8:07
harold aptroot10-Jul-09 8:07 
AnswerRe: IVR Pin
Dr.Walt Fair, PE10-Jul-09 10:36
professionalDr.Walt Fair, PE10-Jul-09 10:36 
QuestionGnuPG / GnuPGWrapper from C# Pin
davidmgray_de10-Jul-09 5:09
davidmgray_de10-Jul-09 5:09 
AnswerRe: GnuPG / GnuPGWrapper from C# Pin
MumbleB10-Jul-09 6:57
MumbleB10-Jul-09 6:57 
QuestionRegex.Remove Pin
Wheels01210-Jul-09 5:07
Wheels01210-Jul-09 5:07 
AnswerRe: Regex.Remove Pin
riced10-Jul-09 5:26
riced10-Jul-09 5:26 
GeneralRe: Regex.Remove Pin
Wheels01210-Jul-09 5:29
Wheels01210-Jul-09 5:29 
GeneralRe: Regex.Remove Pin
riced10-Jul-09 5:39
riced10-Jul-09 5:39 
GeneralRe: Regex.Remove Pin
Wheels01210-Jul-09 5:41
Wheels01210-Jul-09 5:41 
GeneralRe: Regex.Remove Pin
riced10-Jul-09 6:07
riced10-Jul-09 6:07 
GeneralRe: Regex.Remove Pin
Wheels01210-Jul-09 6:11
Wheels01210-Jul-09 6:11 
GeneralRe: Regex.Remove Pin
riced10-Jul-09 6:16
riced10-Jul-09 6:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.