Themed 2026 Presentation Style Preview

DerivedClassWithInheritedDocsMethodWithExample Method

An override of the method with an example

Definition

Namespace: XMLCommentsExamples.DocumentationInheritance
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2025.4.26.0
public override bool MethodWithExample()

Return Value

Boolean
Always returns false

Example

This example is from the base class // 'x' is always true bool x = instance.MethodWithExample();

This example applies to the derived class: if(derivedInstance.MethodWithExample()) Console.WriteLine("This is never reached");

See Also