using System;
public class dog
{
public string breed;
public string color;
public int years;
public dog(string strInput, string strInput2, int intInput)
breed = strInput;
color = strInput2;
years = intInput;
}
public void bark()
Console.WriteLine("bark");
public class Program
public static void Main()
Console.WriteLine("Hello World");
dog dog1 = new dog("German Shepard", "Brown", 3);
dog dog2 = new dog("Shih-Tzu", "White", 6);
dog1.bark();
dog2.bark();
/*
Create a Dog class like the one in the figure with:
1. public fields Breed (String), Color (String), and Age in years (Integer)
2. constructor that takes all the parameters to create an object from the Dog
3. A function bark() that print out "bark"
4. Test both constructors in the Main(), and create the 2 objects based on the figure, and call bark() function.
*/