Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

C# Documentation

C# documentation

Constructors

...

Code Block
languagec#
public class Roger
{
   // Default constructor
   public Roger()
   {
   }

   public Roger (string arg) : this ()
   {
   }

Methods

  • Static methods are methods you can call without instantiating the class.  Eg Math.Abs()

  • Function-bodied expressions allow for quick one-liner expressions:  func() => expression

  • You can override methods from the base class by adding the override qualifier to your function.

...