Skip to content

Instantly share code, notes, and snippets.

@admir-live
Created June 20, 2023 05:48
Show Gist options
  • Save admir-live/0dbadf2e98b5ceb546c86194ca89a72e to your computer and use it in GitHub Desktop.
Save admir-live/0dbadf2e98b5ceb546c86194ca89a72e to your computer and use it in GitHub Desktop.
Example.cs
/// <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