using System;
public class Program
{
public static void Main()
Dog d = new Dog(15,25.0,"Chow");
d.Bark();
int age = d.DogAge();
Console.WriteLine("My dog's age is " + age + " in dog years.");
}
class Dog{
private int age;
private double weight;
private String breed;
public Dog(int a, double w, String b){
this.age = a;
this.weight = w;
this.breed = b;
public void Bark(){
Console.WriteLine("Rrruff, rrruff");
public int DogAge(){
return this.age*7;