Introduction to C#
- slide 37 : 43
Procedures and Functions
Procedures
VB: Subprogram
C#: void method (void function)
Functions
VB: Functions
C#: int method or
someType
method
Parameter passing
Both languages support
call by value
and
call by reference