[CODE] How can i send argument from class B to A with inheriting
How can i send a value from my object B and call the method A(int x) ?
C#:
static void Main(string[] args)
{
{
B bObj = new B();
Console.ReadLine();
}
}
public class A
{
public A()
{
Console.WriteLine("Hi you are in class A");
}
public A(int x)
{
Console.WriteLine("Hi you are HERE");
}...
Code:
How can i send argument from class B to A with inheriting[/URL]
by Ussagui via TBN
No comments:
Add Comment