C# – Delegates

  • Post author:
  • Post category:C#
  • Post comments:1 Comment

C# Delegates are similar to pointers to functions, in C or C++. AĀ delegateĀ is a reference type variable that holds the reference to a method. The reference can be changed at…

Continue ReadingC# – Delegates

C# – Indexers

  • Post author:
  • Post category:C#
  • Post comments:1 Comment

C# IndexersĀ allow an object to be indexed such as an array. When you define an indexer for a class, this class behaves similar to aĀ virtual array. You can then access…

Continue ReadingC# – Indexers

C# – Properties

  • Post author:
  • Post category:C#
  • Post comments:14 Comments

C# PropertiesĀ are named members of classes, structures, and interfaces. Member variables or methods in a class of structures are calledĀ Fields. Properties are an extension of fields and are accessed using…

Continue ReadingC# – Properties