ReflectionIT NDocSample Library

Employee Members

Employee overview

Public Instance Constructors

Employee Constructor Initializes a new instance of the Employee class with a name and salary.

Public Instance Properties

Name Gets or sets the name of the employee.
Salary Gets or sets the salary of the employee.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the current instance.
GetYearSalary Returns the year salary for the employee using 12 months
RaiseSalary Raise the salary with 10%
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

Employee Class | ReflectionIT.NDocSample Namespace