public CensusDTO(USCensusDao uSCensusDao)
 {
     this.stateCode         = uSCensusDao.stateId;
     this.stateName         = uSCensusDao.stateName;
     this.population        = uSCensusDao.population;
     this.housingUnits      = uSCensusDao.housingUnit;
     this.totalArea         = uSCensusDao.totalArea;
     this.waterArea         = uSCensusDao.waterArea;
     this.landArea          = uSCensusDao.landArea;
     this.populationDensity = uSCensusDao.populationDensity;
     this.housingDensity    = uSCensusDao.housingDensity;
 }
        public string getBothSorted(USCensusDao uSCensus, IndiaCensusDAO indiaCensus)
        {
            string sortedState = (uSCensus.populationDensity > indiaCensus.density) ? uSCensus.stateName : indiaCensus.state;

            return(sortedState);
        }