C#barbara doyle23.a-g


23. a.
public decimal Pay{get{return pay;}}
b.
public class Employee( ){empNumber = 99999999;pay = 0M;}
c.
public class Employee(string empNo, decimal payAmt ){empNumber = empNo;pay = payAmt;}
d.
public class HourlyEmployee : Employee{protected double hours;protected decimal payRate;}
e.
public HourlyEmployee(string empNo, decimal payAmt, decimal rate, double hrs): base (empNo, payAmt){hours = hrs;payRate = rate;}
f.
public virtual decimal ComputePayAmount( ){return pay;}
g.
public override decimal ComputePayAmount( ){return hours * payRate;}




http://en.wikibooks.org/wiki/C_Sharp_Programming/Generics


pg 772-773
#1,2 and 3
generics


http://www.tutorialspoint.com/csharp/csharp_generics.htm






data link libraries
we have to build and reference and then we can call the using imparative
il dasm
visual studio tools developer cmd promt
http://msdn.microsoft.com/en-us/library/aa309387%28v=vs.71%29.aspx
abstracts enums
naming conventions for interfaces
overrides
forms in java
inheritance
partial classes
sealed classes
protected classes
definitely find the student data files

Popular posts from this blog

learning normalization today data modeling