using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpInterface
{
interface mahi
{
void set();
}
class mahi1 : mahi
{
public void set()
{
Console.WriteLine("Hate the word LOVE");
Console.ReadLine();
}
}
class Program
{
static void Main(string[] args)
{
mahi1 m = new mahi1();
m.set();
}
}
}
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace CSharpInterface
{
interface mahi
{
void set();
}
class mahi1 : mahi
{
public void set()
{
Console.WriteLine("Hate the word LOVE");
Console.ReadLine();
}
}
class Program
{
static void Main(string[] args)
{
mahi1 m = new mahi1();
m.set();
}
}
}
Output: