Skip to content

Instantly share code, notes, and snippets.

@karthikeyanVK
Last active October 18, 2016 08:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthikeyanVK/c14a38c85d9f63d26efdd7eb520dac5b to your computer and use it in GitHub Desktop.
Save karthikeyanVK/c14a38c85d9f63d26efdd7eb520dac5b to your computer and use it in GitHub Desktop.
public interface ICar
{
void Drive();
void ShiftManualGear();
void ShiftAutomaticGear();
}
public class Maruthi800 : ICar
{
public void Drive()
{
Console.WriteLine("Drive");
}
public void ShiftManualGear()
{
Console.WriteLine("Shift Gear");
}
public void ShiftAutomaticGear()
{
throw new System.NotImplementedException();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment