Short Way to Write a single line method
-public void DescribeYourself()
-{
- MessageBox.Show(this.Name + " is a " + this.AnimalType + " and it's id is:" + Id);
-}
public void DescribeYourself() => MessageBox.Show(this.Name + " is a " + this.AnimalType + " and it's id is:" + Id);
Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com