using System;
public class Dog
{
public string Breed;
public string Color;
public int Age;
// Constructor that takes all parameters to create an object
public Dog(string breed, string color, int age)
Breed = breed;
Color = color;
Age = age;
}
// Function that prints out "bark"
public void Bark()
Console.WriteLine("bark");
public class Program
public static void Main(string[] args)
// Create the first Dog object as described
Dog dog1 = new Dog("Bulldog", "light gray", 5);
dog1.Bark(); // Call for dog1
// Create the second Dog object as described
Dog dog2 = new Dog("Beagle", "orange", 6);
dog2.Bark(); // Call for dog2