Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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);
}
@eyohansa

This comment has been minimized.

Copy link

@eyohansa eyohansa commented Oct 23, 2017

There's a typo on line 19. Console.Wirte should be Console.Write.

@wildbook

This comment has been minimized.

Copy link

@wildbook wildbook commented Oct 23, 2017

Line 5 also contains a typo. AditionalField should be AdditionalField.

@NMZivkovic

This comment has been minimized.

Copy link
Owner Author

@NMZivkovic NMZivkovic commented Oct 24, 2017

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