Simple console application using Early Binding
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ConsoleApplicationSample
{
class EarlyBinding
{
class a
{ }
class b
{}
class c
{
static void Call(a a1)
{
Console.Write("a class is
called");
Console.ReadKey();
}
static void Call(b b1)
{
Console.Write("b Class is
Called");
Console.ReadKey();
}
public static void Main()
{
a a2 = new a();
b b2 = new b();
Call(a2); //Method
called.
Call(b2); //Again
Method is Called.
}
}
}
}
https://www.youtube.com/channel/UCKLRUr6U5OFeu7FLOpQ-FSw/videos
0 comments
Post a Comment