Last active
October 18, 2016 08:53
-
-
Save karthikeyanVK/c14a38c85d9f63d26efdd7eb520dac5b to your computer and use it in GitHub Desktop.
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
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