Inherit Parent Constructor Behaviour
From: Xarky (bernardpace_at_yahoo.com)
Date: 11/17/04
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: Can you add a tooltip to a datagrid column"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: C# Excel add-in: Why need InvokeMember to get Application property?"
- Next in thread: Jon Skeet [C# MVP]: "Re: Inherit Parent Constructor Behaviour"
- Reply: Jon Skeet [C# MVP]: "Re: Inherit Parent Constructor Behaviour"
- Messages sorted by: [ date ] [ thread ]
Date: 17 Nov 2004 08:35:46 -0800
Hi,
Having the following scenario:
public class Parent
{
private string Parent_name;
public Parent()
{
this.Parent_name = "";
}
}
public class Child : Parent
{
public Child()
{
// I need to inherit the behaviour of the parent constructor
// and
// and new behaiour
}
}
Can someone help me out.
Thanks in Advance
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: Can you add a tooltip to a datagrid column"
- Previous message: Nicholas Paldino [.NET/C# MVP]: "Re: C# Excel add-in: Why need InvokeMember to get Application property?"
- Next in thread: Jon Skeet [C# MVP]: "Re: Inherit Parent Constructor Behaviour"
- Reply: Jon Skeet [C# MVP]: "Re: Inherit Parent Constructor Behaviour"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|