Skip to content

Instantly share code, notes, and snippets.

@paulostradioti
Last active Jun 28, 2018
Embed
What would you like to do?
Exemplo de como um construtor é definido
public class Dragon
{
int age;
public Dragon(int dragonAge)
{
age = dragonAge;
}
public bool Dracarys()
{
// Burn all the enemies
return true; //return true because they are all dead
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment