Search This Blog

Thursday, March 22, 2012

Create Interface

for create Interface use keyword interface then name of the interface here is an example.

interface IEmployee
    {
         string FirstName{get;set;}
         string EmpID{get;set;}
         int Age{get;set;}
         DateTime DateOfJoining { get; set; }
         bool Save();
    }

No comments:

Post a Comment