Search Results
Searching for: Functions in C#
Standard Methods
Language: C#
A method is a block of code that can be called from another location in the program or class. It is used to reduce the repetition of multiple lines of code. The return statement concludes the execution of the block of code, returning something of type provided in the method header, or null (void method). Within a class, these are known as 'instance methods'. An instance method is tied to a class instance.
Pointers and References
Language: C#
To store an address in memory of a variable. A pointer is a variable itself and has a value whereas a reference only has a variable that it is referencing.