title: Abstract Class and Interface in C#.net?
body: <p>I read many article about Abstract Class and Interface but every time i not able to explain to interview i don't know why plz help me better understanding in both topics.</p>
  
  <p>What my understanding is about Abstract Class :- Abstract class those class where you want to use some common functionality in your project. Like there are 2 class 1) "Contract Employee" 2) Permanent Employee</p>
  
  <p>So in both class having same Field Like First name , Last Name , Employee ID , Salary , Total Hours</p>
  
  <p>So Here Salary Calculation is different based on your contract and permanent Employee but rest thing is same so here need Abstract class for same functionality.</p>
  
  <p>Interface: - Interface is like Contract where all the methods in a Contract should be implement in Inherited Class. it mandatory.</p>
  
  <p>Confusion: but in Abstract class also says if you declare some methods Abstract in Abstract class it also mandatory to  Implement in Inherited class ?</p>
  
  <p>Please explain me so i can get better understanding in both</p>
  
  <p>thanks in Advance</p>