h1.post-title { color:orange; font-family:verdana,Arial; font-weight:bold; padding-bottom:5px; text-shadow:#64665b 0px 1px 1px; font-size:32px; } -->

Pages

override -- C# Keyword

override -- C# Keyword


  •  The override modifier is required to extend or modify the abstract or virtual implementation of an inherited method, property, indexer, or event.
  • An override declaration cannot change the accessibility of the virtual method.
  • Both the override method and the virtual method must have the same access level modifier.
  • You cannot use the new, static, or virtual modifiers to modify an override method.