Language
Version: 5
Categories
-
User Program Communication
-
Variables
-
Control Flow
-
Object Oriented Programming
-
Strings
Search Results
Searching for: Determine Type 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.