Can we override private virtual method in C#?

No. We can’t override private virtual methods as it is not accessible outside the class.

What are value types in C#?

Below are the list of value types in C# -

  • decimal
  • int
  • byte
  • enum
  • double
  • long
  • float

What are reference types in C#?

The following are the list of reference types in C# -

  • class
  • string
  • interface
  • object

What are the types of delegates in C#?

The following are the uses of delegates in C# -

  • Single Delegate
  • Multicast Delegate
  • Generic Delegate

 


What are the uses of delegates in C#?

Uses of delegates in C# -
  • Callback Mechanism
  • Asynchronous Processing
  • Abstract and Encapsulate method
  • Multicasting

Back to Top