when I did the following porgram I got the error like
NewNamespace.Focusview does not implement interfaceNenamesapce.Iencrypt.Icompress
why? can any body explain this problem
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace NewNamespace
{
interface IEncrypt
{
void IEencrypt();
void Idecrypt();
}
interface Icompress
{
void compress();
void decompress();
}
interface Iauth
{
void login();
void logout();
}
public class FocusView : IEncrypt, Icompress, Iauth
{
void IEncrypt()
{
Console.WriteLine("encrypt");
}
void Idecrypt()
{
Console.WriteLine("Decrypt");
}
void login()
{
Console.WriteLine("login");
}
}
class Program
{
static void Main(string[] args)
{
FocusView o = new FocusView();
IEncrypt ie = (IEncrypt)o;
ie.IEencrypt();
ie.Idecrypt();
}
}
}