Halo Frnds,
What is the difference between Instance and Object in C#
and
class A
{
public virtual void get()
{
Console.WriteLine("Hello");
}
}
class B:A
{
public override void get()
{
Console.WriteLine("Fine");
}
}
Ist Method
A e = new B();
e.get();
IInd Method
B e = new B();
e.get();
Difference between in Ist Method and IInd Method of intializing the object of the the Class A