Last active
October 24, 2017 07:33
-
-
Save NMZivkovic/07e983e326b43cafa024ef7b26c93a3c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
extension ExtendedEntity extends Entity | |
{ | |
private string _additionalField = "AdditionalField"; | |
public string AdditionalField | |
{ | |
get | |
{ | |
return _additionalField; | |
} | |
set | |
{ | |
_additionalField = value; | |
} | |
} | |
public static void PrintSomething() => Console.Write("Someting"); | |
public void PrintAdditionalInfo() => Console.Wirte(_additionalInfo); | |
} |
Line 5 also contains a typo. AditionalField
should be AdditionalField
.
Fixed it, thanks for pointing it out!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's a typo on line 19.
Console.Wirte
should beConsole.Write
.