Created
June 20, 2023 05:48
-
-
Save admir-live/0dbadf2e98b5ceb546c86194ca89a72e to your computer and use it in GitHub Desktop.
Example.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Base class for car objects | |
/// </summary> | |
public abstract class Car | |
{ | |
public virtual void StartEngine() | |
{ | |
Console.WriteLine(value: "Car engine has been started."); | |
} | |
public virtual void StopEngine() | |
{ | |
Console.WriteLine(value: "Car engine has been stopped."); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment