Searching for: Blocks in C#
Static Methods
Language: C#

Static methods are methods that are called on the class itself, not on a specific object instance. The static modifier ensures implementation is the same across all class instances. In other languages, these are known as 'class methods'.

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.

While Loop
Language: C#

The while loop executes a block of code while a boolean expression evaluates to true. It terminates as soon as the expression evaluates to false. The boolean expression is evaluated before each iteration.

Type Conversion
Language: C#

The Convert class is used to convert one data type into another one.


< Previous Page   |   Next Page >