using System;
namespace Dog
{
public class Dog
{
public string name;
public int weight;
public bool fur;
public Dog (String n, int w)
{
name = n;
weight = w;
fur = true;
}
public void bark( )
{
Console.WriteLine(name + " says Woof");
}
}
///
/// Summary description for Class1.
///
class Class1
{
///
/// The main entry point for the application.
///
[STAThread]
static void Main(string[] args)
{
Dog d1, d2;
d1 = new Dog ("Jeff", 200);
d2 = new Dog ("Mutt", 40);
d1.bark();
d2.bark();
}
}
}