Quote:
Originally Posted by Dev Hawk
No-arg constructor that creates a default fan. Use this ref. // I think it is like Public class Fan:this(Slow, false, 5, "Blue").
|
This is the only part I see you did any work- without giving too much away....
Code:
class Program
{
static void Main(string[] args)
{
fan f = new fan();
}
}
public class fan
{
private string PretendValue;
private int PretendValue2;
public fan()
{
PretendValue = "cat";
PretendValue2 = 5;
this.display();
}
private void display()
{
Console.WriteLine("{0}, {1}\nfin...", PretendValue, PretendValue2);
Console.ReadLine();
}
}
I do believe that will give you a lot to work with