TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Jagjit Saini
NA
166
0
How to implement interface in classes
Nov 25 2011 6:53 AM
Hi
namespace Indivar
{
interface intprjemployees
{
int prjemp_Id { get; set; }
int prjemp_empId { get; set; }
int prjemp_projectId { get; set; }
int prjemp_roleinproject { get; set; }
int prjemp_CreatedBy { get; set; }
DateTime prjemp_CreatedOn { get; set; }
char prjemp_status { get; set; }
string prjemp_AdminRemarks { get; set; }
}
public class clsPrjEmpoyees:intprjemployees
{
private char _prjemp_Status;
private DateTime _prjemp_CreatedOn;
private int _prjemp_Id, _prjemp_empid, _prjemp_projectid, _prjemp_roleinproject, _prjemp_createdby;
private string _prjemp_AdminRemarks;
public char prjemp_Status
{
get
{
return _prjemp_Status;
}
set
{
_prjemp_Status = value;
}
}
public DateTime prjemp_CreatedOn
{
get
{
return _prjemp_CreatedOn;
}
set
{
_prjemp_CreatedOn = value;
}
}
public int prjemp_Id
{
get
{
return _prjemp_Id;
}
set
{
_prjemp_Id = value;
}
}
public int prjemp_empid
{
get
{
return _prjemp_empid;
}
set
{
_prjemp_empid = value;
}
}
public int prjemp_projectid
{
get
{
return _prjemp_projectid;
}
set
{
_prjemp_projectid = value;
}
}
public int prjemp_roleinproject
{
get
{
return _prjemp_roleinproject;
}
set
{
_prjemp_roleinproject = value;
}
}
public int prjemp_createdby
{
get
{
return _prjemp_createdby;
}
set
{
_prjemp_createdby = value;
}
}
public string prjemp_AdminRemarks
{
get
{
return _prjemp_AdminRemarks;
}
set
{
_prjemp_AdminRemarks = value;
}
}
}
}
It is giving error : Indivar.clsPrjEmpoyees' does not implement interface member 'Indivar.intprjemployees.prjemp_projectId
Thanks
Reply
Answers (
2
)
Error: does not implement interface member 'Project.intprjDocument.prjdocstatus
Items moving from one list to another