Making sure it uses Microsoft Code Convention
This commit is contained in:
@@ -6,7 +6,7 @@ namespace OOP.Animals
|
||||
{
|
||||
public Elephant()
|
||||
{
|
||||
this.Name = this.GetType().Name;
|
||||
Name = GetType().Name;
|
||||
}
|
||||
|
||||
public override void MakeSound()
|
||||
|
||||
@@ -4,9 +4,9 @@ namespace OOP.Animals
|
||||
{
|
||||
public Lion()
|
||||
{
|
||||
this.Name = this.GetType().Name;
|
||||
Name = GetType().Name;
|
||||
}
|
||||
|
||||
|
||||
public override void MakeSound()
|
||||
{
|
||||
Console.WriteLine("Rawr");
|
||||
|
||||
@@ -4,7 +4,7 @@ namespace OOP.Animals
|
||||
{
|
||||
public Parrot()
|
||||
{
|
||||
this.Name = this.GetType().Name;
|
||||
Name = GetType().Name;
|
||||
}
|
||||
|
||||
public override void MakeSound()
|
||||
|
||||
Reference in New Issue
Block a user