Tuesday, November 25, 2014

IComparable_Lab Assignment

//Lab assignment 
//==============
//Define a Person class with FirstName, LastName, DateOfBirth, Salary
//Add a default comparer to the Person class to compare by DateOfBirth
//In Form1: Create a list of Person objects
//   Add to it at least a dozen people
//Provide ListView to display all the people in the list
//Provide buttons to display all the people to sort using the default comparer
//to sort by salary
//to sort by last name / first name
//======================================================================

IComparable


namespace MyClassLab
{
    public class Account : IComparable<Account>  //Option1: This is added to compare accounts
    {

Thursday, November 6, 2014

Exception Class _Lab_11_6_2014


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

Exception Handling Class



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

Monday, November 3, 2014

Sunday, November 2, 2014

Static Member Of A Class


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;