433IndexSpecialCharacters#(hashcharacter),149_(underscore)character,11||(OR)operator,109Aabexpression,108a>=bexpression,109!
aexpression,109avariable,418Abort()method,347abstractinginstantiationswithfactories,177–178abstraction,376accessingrelationaldatabases,375,382–386AcquireReaderLock()method,359AcquireWriterLock()method,359actionmethod,120ActiveCurrencyTraderclass,147,152–155addingconstructorto,152–153addingconversionmethodsto,154–155defininginformationalread-onlyproperties,153–154ActiveCurrencyTrader()method,159ActiveXDataObject(ADO),375Add()method,33–40,43,47,231writing,33–35writingcodetotest,35addingtestprojects,36testingadditionoftwolargenumbers,38testingsimpleaddition,37–38identifier,321additionoperator,417AddNumbers()method,428AddRoomGrouping()method,214AddRoomToGrouping()method,219AddValue()method,278ADO(ActiveXDataObject),375ADO.
NET,accessingrelationaldatabasesusing,382–386addingtabledata,382–384closingconnections,382connecting,382deletingdatafrom,386selectingdatafromtables,385AI(artificialintelligence)system,77algorithm,77allotest,63,64alloappendtest,64Alpha,334alteringdata,408–409AmericanStandardCodeforInformationInterchange(ASCII),68_amountdatamember,179Andoperator,109AndAlsooperator,109anonymoustypes,selectingwith,409Anotherinstance,232API(applicationprogramminginterface),59Append()method,281applicationdevelopment.
Seedevelopment,softwareapplicationmode,117applicationprogramminginterface(API),59appSettingsfolder,321AppSettingsproperty,322section,321–322,330,339Architecturalcode,138AreYouPreHeated()method,144ArgumentException()method,120434INDEXArgumentExceptiontype,128ArgumentNullExceptiontype,128ArgumentOutOfRangeExceptiontype,128arithmeticoperatorsaddition,417bitwise,419ArithmeticExceptiontype,128ArrayListclass,230ArrayListinstance,231arrays,204–205artificialintelligence(AI)system,77ASCII(AmericanStandardCodeforInformationInterchange),68assembliesdynamicloadingof,322–331dynamicallyinstantiatingtypes,322–326enhancingconfigurationfiles,326–331dynamicloadingofstronglynamed,331–336relocatingtoGAC,333usingversionnumbers,333–336signing,317–318versioning,335–336assemblyvariable,324assemblyBindingconfigurationfile,336AssemblyFileVersionattribute,335assemblyIdentitychildelement,336AssemblyInfo.
vbfile,335Assembly.
Load()method,332AssemblyVersionattribute,335AssignCellState()method,305–307assignmentoperator,417AssumeReferenceTypeinterface,426asynchronoustechniques,367AsyncStatedatamember,368AsyncWaitHandle.
WaitOne()method,368attributes,274Attributesdatamember,418availableTypesdictionarycollection,330BbackToDerivedvariable,195backward-compatibility,399Base,Base.
Method()method,189baseclasses,135,138–139,151–152,165,174–178abstractinginstantiationswithfactories,177–178overridingforspecializedfunctionality,176basefunctionality,182–188base.
CalculateTaxToPay()method,176BaseGeneratedclass,428BaseLinkedclass,206BaseLinkedListItemclass,207–208Base.
Method()method,193BaseTaxEngineclass,182BaseTaxEngineinterface,177BaseTaxEngine.
CalculateTaxToPay()method,176BaseTypeparameter,301BaseTypereferences,294BeginRead()method,367Behavioralfunctional,174binarystreams,270,284Binary2Textapplication,249Binary2Text.
execommand,270BinaryFormatterclass,276bindingRedirectchildelement,336bit,44bitwiseoperators,419blackboxcontext,285boolproperties,203Bootstrapclass,284bootstrapcode,253BreadthFirstSearchclass,99bruteforce,80bufferparameter,132buffer.
Trimproperty,61Buildtab,318Buttoncontrol,8Button1_Clickfunction,10ByRefkeyword,86byte,44Bytetype,44ByValkeyword,86CCalculate()method,311CalculateArea()method,168435INDEX_calculatedTaxabledatamember,176CalculateTaxToPay()method,175calculatorapplicationAdd()method,33–35developmentof,26–30finishing,47numbers,computerunderstandingof,40–41Calculatorclasslibrary,30–41CallStackpane,117CallingExampleinstance,129CallRuntimeImplementationclasslibrary,316CallRuntimeImplementationproject,317CallRuntimeImplementation.
exe.
configconfigurationfile,319Canadiantaxes,182CanContinue()method,110CanContinueSearch()method,108,110catchblock,120–125,127,133Catchkeyword,120catchstatement,126catchingexceptions,118–120cbvariable,241CellStatedatamember,302CEO(chiefexecutiveofficer),116charactermapping,67–68character-by-charactercomparison,59–60chiefexecutiveofficer(CEO),116CIL(CommonIntermediateLanguage),19Citynameattribute,88classhierarchies,163inheritance,188–193taxconcepts,163–164taxengineapplication,173–182baseclasses,174–178basefunctionality,182–188basetaxaccount,180–182Classkeyword,89,150classlibraries,30–41Add()method,33–35numbers,computerunderstandingof,40–41classlibraryproject,14–19addingtosolutions,14callingfunctionality,16–17definingreferences,15movingfunctionality,15variables,17–19classesdeclaring,81definingNodeelementsbyswitchingto,94ClassLibrary.
Class1.
HelloWorld()method,16Clear()method,298CLI(CommonLanguageInfrastructure),42cloning,synchronizingbetweenthreadswith,354–355closingdatabaseconnections,382CLR(commonlanguageruntime),20CLRnumerictypes,43–45clsvariable,167cls.
GetDepth()method,129cls.
Method()method,167cmdtype,12cmd.
Connectionproperty,383ColCellsdatamember,302collections,229collectiontypes,245storingusinglinkedlists,204–206comments,addingtoWindowsapplicationproject,11CommonIntermediateLanguage(CIL),19CommonLanguageInfrastructure(CLI),42commonlanguageruntime(CLR),20CommonTypeSystem(CTS),21Compare()method,59Compare(String,String)method,59CompareTo()method,54,55,59–60,62compiler,19ComplexTypeimmutabletype,421component-orientedarchitecture,197–228kernels,197–198lightingapplicationbuildingkernels,199–222definingrooms,222–224organizing,198–199PrivateRoomimplementations,224–225components,29,48,171–173,195conditionalstatements,148–150.
config,340.
configextension,319436INDEXelement,327,330configurationarchitecture,decouplingusing,315configurationfiles,319–322addingassemblyredirectionto,336addingdynamicloadingitems,321enhancing,326–331marshalingdata,327–330reading,330reading,321–322XML-based,319–320configurationidentifier,320:configuration:stringidentifier,299ConfigurationExceptionfailure,133ConfigurationInfoclass,322,324ConfigurationLoaderclass,322–325,325ConfigurationLoader.
Instancesharedproperty,325ConfigurationManagerclass,322,324ConfigurationPropertyproperty,328ConfigurationPropertyOptions.
IsRequiredparameter,328ConfigurationSectionclass,328configuringDataSource,377–378connectingtorelationaldatabases,382connectionvariable,382Connectionsarray,90–93Connectionsattribute,88Connectionsdatamember,89–92Connectionsdefinitions,111consoleapplication,4consoleapplicationproject,12addingtosolutions,12"hello,world",13settingstartupproject,13consoletestingapplication,164ConsoleApplicationproject,13Console.
WriteLine()method,16,303#Consthashcode,157Constkeyword,18constants,17–19constructors,90addingtoActiveCurrencyTraderclass,152–153addingtoHotelCurrencyTraderclass,155–156Containerclass,286Contains()method,267convention-basedarchitecturedecouplingusing,315–316implementing,339convention-basedarchitecture,sharedtyped,337–338conversionmethods,152addingtoActiveCurrencyTraderclass,154–155addingtoHotelCurrencyTraderclass,156–157Convert()method,138ConvertFrom()method,154,156–157,159–161ConvertTo()method,154,156–7,159–61ConvertToTextField()method,160ConvertValue()method,151,154–5ConvertValueInverse()method,151,154–155Coordinatesattribute,88CreateCapitalGain()method,187CreateDeduction()method,175CreateIncome()method,175CreateInstance()method,324CreatePrivateRoom()method,225CreatePublicRoom()method,225CreateSurtaxTaxEngine()method,178CreateTaxAccount()method,175,182–185,187CreatingBuilding()method,225cross-referencing,315CTS(CommonTypeSystem),21CultureInfoinstance,72cultures,68–74numbers,69–72settinginWindows,68currencyconvertersActiveCurrencyTraderclass,152–155addingconstructorsto,152–153addingconversionmethodsto,154–155defininginformationalread-onlyproperties,153–154HotelCurrencyTraderclass,155–157addingconstructorsto,155–156addingconversionmethodsto,156–157437INDEXcurrencyexchangeapplicationorganizing,137writingtestsfor,137–152baseclasses,138–139,151–152inheritance,139–141,145–146scopemodifiers,146–148structuralcode,138verification,148–151VisualBasicproperties,141–144currencyspreads,136–137CurrencyTraderclass,139,142,144–159CurrencyTraderlibrarycomponent,137CurrencyTrader.
_exchangeRatedatamember,147CurrencyTrader.
ConvertValue()method,155CurrencyTrader.
ConvertValueInverse()method,155CurrentCultureproperty,74currExchangeparameter,153CurrVersionvariable,311customoptimization,21custom-definedtypes,81–86declaringstructs/classes,81objects,56–59valuetypes,constraints,81–86DDAO(DataAccessObject),375dataclass,322datamemberscopes,135datamembers,shared,96DataSource,configuring,377–378datastreams,249datastructure,89Nodeelementsinitializing,90–91instantiating,90–91switchingtoclassestodefine,94referencingusingvaluetypes,91–94shareddatamembers,96sharedmethods,96databasenormalization,373databaserelations,373–375DatabaseConsoleExconsoleproject,377DatasetDesigner,387–392buildingrelationsbetweentables,387–391generatedcode,391–392datasetvariable,392dataset.
drawsdatamember,392datasets,defined,387Date.
Parse()method,73datetimetype,380DbTypeproperty,IDbDataParametertype,384deadlocks,355,369Debugflag,293debugmode,158debuggerfeature,116–117Decimaltype,44,47decisions,77–113custom-definedtypes,81–86declaringstructs/classes,81declaringStructures/classes,81valuetypeconstraints,81–86depth-firstsearchalgorithm,77–81,89–111datastructures,89definingtestfor,98–102implementing,102–110organizing,87–88running,110–111decoupling,315–316decouplingcode,98de-DEcultureinformation,72deductions,164defaultevent,11defaultimplementations,178–180test-drivenarchitecture,165–173components,171–173inheritance,168–170VisualBasicinterfaces,166–168typecasting,194Defaultkeyword,215defaultproperties,215defininginterfaces,173–174,199–203INoRemoteControlRoom,201–202IRemoteControlRoom,202–203IRoomplaceholder,200–201ISensorRoom,203kernelsasinterfaces,220–222Definitionsassembly,222Definitionsclasslibrary,316438INDEXdelegates,241,248deletingdatafromrelationaldatabases,386dependencies,166dependentAssemblyelement,336depthdatamember,124depth-firstsearchalgorithm,77–81,80organizing,87–88writingcode,89–111datastructure,89definingtest,98–102implementing,102–110DepthFirstFindRoute()method,99DepthFirstSearchclass,99–104DepthFirstSearch()method,99DepthFirstSearchobject,99DepthFirstSearch.
rootdatamember,103Derived,Derived.
Method()method,189Derived1.
Method()method,193Descriptiondatamember,214deserialization,274Deserialize()method,276designpattern,139designingrelationaldatabases,377–381Destroy()method,396–398,399,405deterministiccode,357development,software,25focusing,27–30organizing,26,51–52Devspace.
Trader.
Commonclasslibrary,291–292Dictionary_availableTypesinstanceconstructor,325Dictionarydatamember,324Dimension()method,295,309DimLight()method,202DisplayHelp()method,259DisplayMessageText()method,18DivideByZeroExceptiontype,128DoAsyncRead()method,368DoIt()method,337Doubletype,42,44,47,81doublevalue,309Double.
Parse()method,305DowngradeFromWriterLock()method,359downloadingVisualBasicExpress,2drawstable,379–380drawsTableAdapterinterface,391dynamicloading,313–340ofassemblies,322–331dynamicallyinstantiatingtypes,322–326enhancingconfigurationfiles,326–331ofbaseclasses,339configurationarchitecture,313–315configurationfiles,319–322addingdynamicloadingitems,321reading,321–322XML-based,319–320conventionarchitecture,315–316convention-basedarchitecture,implementing,339ofinterfacetypes,339settingupprojects,316–318sharedtypedconvention-basedarchitecture,implementing,337–338ofstronglynamedassemblies,331–336dynamicallyinstantiatingtypes,322–326usinginstantiatedtypes,325–326usingsingletons,324–325Eeasynameattribute,328"easyname"parameter,328EasyNameproperty,328elementscollection,349elementsvariable,235Elsestatement,106ElseIfstatement,106EmbeddedMyTypetype,227endparameter,103–105EngineCreatorclass,178EngineCreator.
CreateSurtaxTaxEngine()method,178EnglishNameproperty,72enhancingconfigurationfiles,326–331marshalingdata,327–330reading,330Enqueue()method,366Enter()method,358Equals()method,56–57,268,279errors,116439INDEXeuros(EUR),136events,10Exampleclass,428ExampleImplementationinterface,167ExampleImplementation.
Method()method,167ExampleMgrcode,423Exception()constructor,121Exceptiontype,126–128exceptions,115–134catching,118–120debuggerfeature,116–117exception-safecode,129–133defaultstate,131–132defensivecoding,129–131processingwarningerrors,133filtering,126–129handlers,117–129,121catchingexceptions,118–120filteringexceptions,126–129implementing,120–123stackunwinding,123–126overview,115–116stackunwinding,123–126Finallykeyword,124,125sandboxingcode,126_exchangeRatedatamember,142ExchangeRateproperty,142–151exclusivelocks,352–354Execute()method,289ExecuteNonQuery()method,384–385ExecuteReader()method,385Exit()method,358explorerapplication,342explorer.
exefile,342ExtensibleMarkupLanguage(XML),319Ffactories,195abstractinginstantiationswith,177instantiations,178factory,177falsepositive,54filelevel,27Fill()method,388filteringexceptions,126–129Finallykeyword,120,124,125FindNextLeg()method,104–105,110FindRoomGrouping()method,216FindRoute()method,99–103FirstElementsubelement,320fixed-dimensionarrays,289floating-point,44ForEachloop,392Forloop,104–105forcedtypecast,194foreignexchange,136Form1_Load()method,364Form1.
Designer.
vbfile,6Form1.
vbfile,12Form1.
vbitem,5FormatExceptiontype,128Form.
Invoke()method,364FoundRoutedatamember,100–102foundRoutevariable,100foundRoute1variable,101foundRoute2variable,101fromCurrencyparameter,153_fromCurrencyproperty,153Func(of)type,302functionalityclasslibraryproject,15–17specialized,176GGAC,relocatingstronglynamedassembliesto,333gacutiltool,333,335garbagecollection,21GenerateOutput.
Write()method,293genericproducer/consumerarchitecture,364–366GenericsContainerparameter,287–288GenericTypeparameter,300getcodeblock,142GetCellState()method,310GetData()method,388GetDepth()method,130GetEnumerator()method,218GetHashCode()method,56–57,279GetNNN()method,385GetObjectData()method,278440INDEXGetSheet()method,301GetTaxRate()method,183getters,142GetType()method,56–57GetType(String)parameter,328globalpositioningsystem(GPS),81globallyuniqueidentifier(GUID),374GoTokeyword,430GPS(globalpositioningsystem),81graphicaluserinterfaces(GUIs),363GUID(globallyuniqueidentifier),374GUIs(graphicaluserinterfaces),363Hhandles,214handlingexceptions.
Seeexceptions,handlershashcharacter(#),149Hashtableclass,230HelloWorld()method,15hiddenproducer/consumerarchitecture,363–364HotelCurrencyTraderclass,155–157addingconstructorto,155–156addingconversionmethodsto,156–157HotelCurrencyTrader()method,159IIAsyncResultparameter,368IAsyncResulttype,368IAsyncResult.
AsyncStatedatamember,368IBaseinterface,425ICanadaTaxEngineinterface,186ICollectioninterface,230IDataParametertype,383IDataReaderinterface,385IDbCommandinstance,383IDbCommandinterface,386IDbConnectioninterface,386IDbDataParametertype,383IDE(integrateddevelopmentenvironment),1,55IDebuginterface,302IDefinitioninterface,337IDefinitiontype,326IDefinitionsinterface,316IDictionaryinterface,230,246IEnumerableclass,218IEnumerableinterface,218IEnumeratorinterface,218IExampleinterface,167Ifstatement,35,77,105–109IListinterface,230–233,245immutableinstance,152immutabletypes,264Impl1identifier,321,326implementationcode,116Implementation.
Method()method,190Implementationsassembly,222implementationsproject,314Implementations1classlibrary,316Implementations1.
dllassembly,324Implementations1.
Implementationprivateclass,324Implementations1.
Implementationtype,326Implementations2classlibrary,316Implementations2.
dllassembly,331implementingconvention-basedarchitecture,339delegates,241–243kernels,203–220linkedlists,204–212roomgroupings,212–220sharedtypedconvention-basedarchitecture,337–338Importsstatement,33incomesplitting,164IncrementCounter()method,364IndexOutOfRangeExceptiontype,128informationalread-onlyproperties,ActiveCurrencyTraderclass,153–154inheritance,139,139–141,145–146,168–173,188–193,202Inheritskeyword,146Initialize()method,396–399InitializeExchangeRate()method,148initializingNodeelements,90–91INoRemoteControlRoominterface,199,201–202INSERTcommand,382,384,386,390Insert()method,207,391insertingitemsintolinkedlists,207–208441INDEXInsertRange()method,245Instproperty,424installingVisualBasicExpress,3instanceconstructor,325Instanceproperty,325Instantiate()method,323instantiatedtypes,325–326instantiatingNodeelements,90–91PrivateRoomimplementation,224–225PublicRoomimplementation,224–225instantiations,abstractingwithfactories,177–178InsufficientMemoryExceptiontype,128Integerdatatype,40,44integers,44integrateddevelopmentenvironment(IDE),1,55intelligentdatastructure,80IntelliSense,55Interfacekeyword,166interfaces,195–198defining,173–174,199–203INoRemoteControlRoom,201–202IRemoteControlRoom,202–203IRoomplaceholder,200–201ISensorRoom,203definingkernelsas,220–222interprocesscommunicationmechanisms,345int.
Parse()method,275InvalidCastExceptiontype,128InvalidOperationExceptionelement,350Invoke()method,363–366IProcessorinterface,396IRectangledeclaration,171IRectangleinterface,187IRemoteControlRoominterface,199,202–203IRoomplaceholderinterface,199,200–201Isfunction,202ISensorRoominterface,199,203IShapedeclaration,171ISquareinterface,187IsReaderLockHeldproperty,361IsRequiredattribute,338IsWriterLockHeldproperty,361ITaxAccountinterface,180,183ITaxEngineinterface,174–177ITaxIncomeinterface,179items.
Lengthvariable,310IterateBuffers()method,132iterationcode,356Iterator.
Iterate()method,242IWorksheetdeclaration,297IWorksheetinstance,299IWorksheetBaseinterface,295,298IWorksheetBasetype,299IWorksheetSerializeclass,304Jjack.
txtfile,372JetDatabaseEngine,375Join()method,346–347Kkernels,197–222defininginterfaces,199–203,220–222INoRemoteControlRoominterface,201–202IRemoteControlRoominterface,202–203IRoomplaceholderinterface,200–201ISensorRoominterface,203implementing,203–220linkedlists,204–212roomgroupings,212–220keyholeproblems,103–104key/valuepairlists,246LLongtype,44lambdaexpressions,243–245,248,290–292,311LanguageIntegratedQuery.
SeeLINQlanguages,68–74cultures,72–74numbers,69–72settinginWindows,68LanguageTranslatorclasslibrary,52LanguageTranslatorcomponent,75LanguageTranslatorproject,53Lengthproperties,276442INDEXlibrarycomponent,164LibTaxsolution,164LibTax.
Surtaxnamespace,176lightingapplicationdefiningrooms,222–224kernels,199–222definingasinterfaces,220–222defininginterfaces,199–203implementing,203–220organizing,198–199PrivateRoomimplementation,224–225PublicRoomimplementation,224–225LightingControllerclass,204,213–217LightLevelproperty,202LightSwitch()method,203lineartaxrate,164linkedlistscreating,206insertingitems,207–208removingitems,207–208storingcollectionsusing,204–206testing,208–212LinkedItemclass,209LinkedListtype,245LinkedListEnumerable.
GetEnumerator()method,219LinkedListEnumerable.
MoveNext()method,219LINQ(LanguageIntegratedQuery),375,395–416alteringdata,408–409lotteryapplication,calculatingfrequencyofnumbers,395–405overview,395performingsetoperations,412–413processingmultiplestreams,410–411selectingdata,408–409selectingwithanonymoustypes,409sortingresults,411–412ListItemclass,206Load()method,330LoadConfiguration()method,133element,327,328LoaderSectionclass,328–330Localspane,117lockingcode,368locks,355logicaloperators,417Longtype,Add()method,47lotteryapplication,calculatingfrequencyofnumbers,395–405extendingsystem,396–399implementingsolution,400–405lotteryDataSet.
xsdfile,387LottoLibraryclasslibrary,249LottoTicketProcessor,254Mmagictypes,99–100Main()method,13,38,54,321,342maintainability,291majornumber,334managedvariable,286ManagedTypetype,287marshaling,275MaxRowsproperty,295memory,21Me.
root.
Lengthproperty,104messageclass-levelscope,18Messageproperty,122messagevariable,17metadata,56methodcall,32Methoddeveloper,423Method()method,85–86,286,366methodsignature,34methods,shared,96MicrosoftDeveloperNetwork(MSDN),59minornumber,334Module1.
vbfile,37–38,53modules.
SeecomponentsMonitortype,357–358Monitor.
Enter()method,358,365Monitor.
Exit()method,365Monitor.
Pulse()method,366Monitor.
Wait()method,358,365MoveNext()method,219MSDN(MicrosoftDeveloperNetwork),59multiplestreams,processing,410–411multiple-coremicroprocessor,344443INDEXmultitasking,341–344overview,341–342preemptive,342timeslicing,342–344multithreading,341–369multitasking,341–344overview,341–342preemptive,342timeslicing,342–344producer/consumerarchitecture,363–368asynchronousapproach,367–368generic,364–366hidden,363–364reader/writerthreadedarchitecture,359–363threads,344–358creating,345–346creatingwithstate,347deadlocks,355synchronizingbetween,349–355waitingforendof,346–347MustInheritkeyword,139,145MustOverridekeyword,157,159–161MyImplementationclass,314MyReferenceTypetype,86MyReferenceTypevariable,84MyType.
MyTypeinstance,286MyTypeparameter,300MyValueTypetype,86MyValueTypevariable,82MyValueTypeWithReferenceTypevariable,84Nnamespace,31NameValueCollectiontype,322navigatingusercontrolsofsolutions,12nesteddatatypes,226–227.
NETgenerics,285–312assigningstatewithoutknowingtype,304–307calculatingaverages,308–311defininginterfaces,292–302designingarchitecture,292needfor,285–288overridingToString()functionality,307–308server-sidespreadsheets,311theoryof,288–291usinglambdaexpressionsin,302.
NETsoftwaredevelopmentkit(.
NETSDK),1,59Newkeyword,90,189,425newVersionattribute,336NextItemdatamember,205–206NextStatement()method,109Nodedeclaration,97Nodeelements,89–100initializing,90–91instantiating,90–91switchingtoclassestodefine,94Nodeobjects,103Nodesharedconstructor,111Nodevaluetype,89Node.
RootNodesshareddata,99Nothingparameter,328Nothingstatement,108Nothingvalue,91NotImplementedExceptiontype,128NotSupportedExceptionexception,127NotSupportedExceptiontype,129nullabletypes,426NullReferenceExceptionexception,127NullReferenceExceptiontype,129number-relatedtypes,25–49classlibraries,30–41Add()method,33numbers,computerunderstandingof,40–41CLRnumerictypes,43–45objects,56–59referencetypes,42–43softwaredevelopment,25–30focusing,27–30organizing,26valuetypes,42–43numberscomputerunderstandingof,40–41indifferentlanguages/cultures,69–72NumberStylesenumeratedvalues,71numericdatatypes,44nvarchar(100)type,381444INDEXOobjectinitialization,214ObjectLinkingandEmbedding,Database(OLEDB),375Objecttype,286,306,324object-oriented(OO)programming,135–162currencyconverters,152–157ActiveCurrencyTraderclass,152–155HotelCurrencyTraderclass,155–157currencyexchangeapplicationorganizing,137writingtestsfor,137–152currencyspreads,136–137MustOverridekeyword,159–161preprocessordirectives,157–159propertyscope,159objects,56–59objectsvariable,231Object.
ToString()method,426ODBC(OpenDatabaseConnectivity),375oldVersionattribute,336OLEDB(ObjectLinkingandEmbedding,Database),375onHeapvariable,234onStackvalue-typevariable,234onStackvariable,234OpenDatabaseConnectivity(ODBC),375OpenStandardOutput()method,272operatingsystem,368Operations.
vbfile,33operators,arithmeticaddition,417bitwise,419Oroperator,109OrElseoperator,109organizationalcode,116OutOfMemoryExceptiontype,129OutputPathfield,319outputpaths,setting,318Ovenclass,143overflow,39,41OverflowExceptiontype,129overloadingbehavior,140Overloadskeyword,170Overridablebaseclassmethod,190Overridablekeyword,175,190,192overridefunctionality,139Overrideskeyword,190,192overriding,176PParameterNameproperty,IDbDataParametertype,384parameters,85–86Parse()method,70–71,130–131partialclasses,150,150–151,427Partialkeyword,150,151partialmethods,427partialtaxation,164patchnumber,334Peek()method,247,264performance,291PeriodicIncrement()method,364persistence,249–284importantstufftoremember,283–284organizing,249–250person.
Attributesvariable,419personstable,380–381PersonWithAttributesattribute,418pipingdatabinary,268–277convertingbinarystreamsintotextstreams,275–277usingconsoles,250–268placeholderinterfaces,200–202plain-vanillalists,245–246plug-inarchitecture,315Positionproperties,276preemptivemultitasking,342prefixallotest,63prefixalloappendtest,64preprocessordirectives,149,157,157–159PrevItemdatamember,205,206Privateclasses,225–226Privatekeyword,322privatescope,145,146–148PrivateRoomimplementation,223,224–225Process()method,264ProcessRunningTotal()method,242445INDEXProcessValuedelegate,241producer/consumerarchitecture,363–368asynchronousapproach,367–368generic,364–366hidden,363–364producer/consumerlocks,369projects,4properties,135propertyscope,159_propTypeNamedatamember,338Protectedkeyword,146protectedscope,145,146–148,147_provincedatamember,183provinceparameter,184Publickeyword,18,82,97,146,274,322publicscope,141,145,146–148PublicRoomimplementation,223,224–225objectinitializationwithnesteddatatypes,226–227Privateclasses,225–226Pulse()method,358Purebehavioral,174Push()method,247QQueueclass,230Queuelists,247QueueProcessor()method,366quotingstrings,65–66RRAD(rapidapplicationdevelopment)environment,5RAM(random-accessmemory),40rapidapplicationdevelopment(RAD)environment,5RDO(RemoteDataObjects),375ReaderWriterclasslibrary,250reader/writerlocks,369reader/writerthreadedarchitecture,359–363ReaderWriter.
Bootstrapmodule,255ReaderWriterLockclass,359ReaderWriterLocktype,361readingconfigurationfiles,321–322datafromconsoles,250–252fromfiles,251enhancedconfigurationfiles,330ReadLine()method,264read-onlylock,361ReadOnlyCollectiontype,351read/writerimplementation,361RealAmountproperty,179Rectangle.
CalculateArea()method,169RectangleImplclass,172ReDimkeyword,204ReDimstatement,92–93referencetypes,42–43,84–85ReferenceHeapclass,234referencing,91–94,314reflection,306relationaldatabases,371–393accessing,375,382–386databaserelations,373–375DatasetDesigner,387–392buildingrelationsbetweentables,387–391usinggeneratedcode,391–392designing,usingVisualBasicExpress,377–381overview,371tables,371–372relations,buildingbetweentables,387–391releasemode,158ReleaseLock()method,359ReleaseReaderLock()method,359ReleaseWriterLock()method,359RemoteDataObjects(RDO),375Remove()method,208,246removingitemsfromlinkedlists,207–208responsibility,55results,sorting,411–412Returnkeyword,102returnArray(c1)arrayelement,108retvalvariable,130446INDEXroomgroupingsadding,213–215addingroomsto,219–220finding,215implementing,212–213performingoperationson,220RoomGroupingclass,213RoomGroupingIterator()method,217–218Roomsdatamember,214_rootarrayelement,105rootXMLnode,320RootNodesdatamember,97,100Run()method,338RunAll()method,118–119,124,242running,110–111ConsoleApplicationproject,13Windowsapplicationproject,7–8runtimeconfigurationfile,313Ssafecode,21sandboxingcode,126savingsolutions,Windowsapplicationproject,6–7SBytetype,44scope,17scopemodifiers,146–148searchalgorithm,79.
Seedepth-firstsearchalgorithmSearchAlgorithmclass,99SearchAlgorithm.
DepthFirstFindRoute()method,99SearchSolutionproject,89SecondElementsubelement,320node,327SELECTcommand,385,390selectingdata,408–409Serializableattribute,274serialization,274custom,277–278declaringdatamembersasnonserializable,278separatingdataobjectsfromactionobjects,278serializing,341server-sidespreadsheetsDebug,292–293IWorkbook,298–301IWorksheetBase,294ServerSideSpreadsheetclasslibrary,292Setcodeblock,142setoperations,412–413SetCellState()method,309SetTemperature()method,144setters,142Shape.
CalculateAreamethod,170shareddatamembers,96sharedmethods,96Sharedmodifier,96sharedproperty,325sharedtypedconvention-basedarchitecture,337–338SheetCoordinatetype,295shellsbuilding,252echoprograms,252–253implementing,272implementingstreamreading/writing,257reading/writingtostreams,257Shorttype,44signed,44signingassemblies,317–318Singletype,44single-coremicroprocessor,344single-linelanguage,VisualBasicas,11singletons,dynamicallyinstantiatingtypesusing,324–325Sizeproperty,IDbDataParametertype,384softwaredevelopment.
Seedevelopment,softwaresolutionsaddingclasslibraryprojectto,14addingconsoleapplicationprojectto,12defined,4navigatingusercontrolsof,12saving,6–7SortedDictionaryclass,246sortingresults,411–412sourcecodelevel,27SourceColumnproperty,IDbDataParametertype,384447INDEXspecialnotation,191specializedfunctionality,overridingfor,176specificsparameter,184Split()method,264,293_spreaddatamember,156spreadparameter,156SpreadSheetclass,292SQLServerExpressEditiondriver,377SqlCeCommandinterface,386SqlCeConnectioninterface,386SqlCeParameterinterface,386SqlCeParametertype,383SquareImplclass,172Stackclass,230Stacklists,246–247stackunwinding,123–126Finallykeyword,124,125sandboxingcode,126Start()method,346startparameter,103–104startNodesvariable,100state,creatingthreadswiththreadparameters,348–349ThreadStartdelegate,347storingcollectionsusinglinkedlists,204–206Stringclass,59stringtypes,51–75languages/cultures,68,74numbers,69–72settinginWindows,68overview,55–60character-by-charactercomparison,59–60objects,56–59softwaredevelopment,organizing,51–52translatorapplication,52,68charactermapping,67–68creatingtestapplication,53–55creatingTranslatorclass,52–53quotingstrings,65–66responsibility,55translatinghello,53whitespace,60,65StringBuilderclass,75StringReadertype,264structuralprogrammingtechniques,197Structurekeyword,89structures,declaring,81substrings,finding,61synchronizationabstractions,368synchronizing,betweenthreads,349–355withcloning,354–355exclusivelocks,352–354SyncLockkeyword,358syncRootobject,353Systemnamespace,127,368System.
Actionclass,364System.
Collectionsnamespace,231System.
Collections.
ObjectModel.
ReadOnlyCollectiontype,350System.
Collections.
ReadOnlyCollectiontype,351System.
configurationreference,316System.
Configuration.
ConfigurationSectionsubclass,327System.
Console.
WriteLine()method,16SystemExceptiontype,129System.
Runtime.
Serialization.
Formatters.
Binary.
BinaryFormattertype,275System.
Threadingnamespace,345System.
Threading.
ReaderWriterLockclass,359Ttabledata,addingtorelationaldatabases,382–384tablevariable,392table.
Fill()method,392tablesaddingtodatabases,378–381drawstable,379–380personstable,380–381winnerstable,381buildingrelationsbetween,387–391relationaldatabase,371–372selectingdatafrom,385taskinstance,348TaskManagerwindow,342task.
MethodToRun()method,348taxconcepts,163–164taxengine,181448INDEXtaxengineapplication,173baseclass,174–178abstractinginstantiationswithfactories,177–178overridingforspecializedfunctionality,176basefunctionality,182–188assigningstate,183–184implementingideaswithspecifics,184–187basetaxaccount,180–182defaultimplementations,178–180defininginterfaces,173–174organizing,164taxableincome,163–164TaxableAmountproperty,179_taxableRatedatamember,179TaxAccountclass,183–184TaxDeductionclass,180TaxEngineclass,185TaxEngine.
CalculateTaxToPay()method,176TaxIncomeclass,180TDD(test-drivendevelopment),212Temperatureproperty,143–144TestCallingExample()method,130TestCurrencyTraderclass,146,148–152TestCurrencyTraderconsoletestingapplication,137test-drivenarchitecture,165–173components,171–173inheritance,168–170VisualBasicinterfaces,166–168test-drivendevelopment(TDD),212TestGetValue()method,131testingAdd()method,35addingtestprojects,36testingadditionoftwolargenumbers,38testingsimpleaddition,37–38creatingtestapplications,53–55definingalgorithmtests,98–102gettingFoundRoutedatamember,100–102magictypes,99–100linkedlists,208–212writingtestsbeforewritingcode,63–65TestInsert()method,211TestLanguageTranslatorproject,53TestServerSideSpreadsheetclasslibrary,291TestSimple()method,366TestSimpleAddition()method,38TestTaxsolution,164textstreams,convertingintobinarystreams,274–275Text2Binaryapplication,249Text2Binary.
execommand,270TextBoxcontrol,9TextProcessorapplication,249–250,260–268decipheringformat,263–265duplicatedates,267–268emptylinesoftext,267fixingdatastream,265–268incorrectdataformat,267toomanyfields,267TextProcessorCommandLines,252TextProcessor.
execommand,252–254,269TextProcessor.
Main(),254TextReadertypes,270TextWritertypes,270ThirdElementsubelement,320Threadinstances,348threadparameters,348–349threadpool,366Threadtype,347thread1.
Start()method,346thread2.
Start()method,346Thread.
CurrentThread.
CurrentCultureproperty,72ThreadedTasktype,348Thread.
ManagedThreadIdproperty,366ThreadPoolProducerConsumerconstructor,366ThreadPoolProducerConsumertype,365–366ThreadPool.
QueueUserWorkItem()method,366threads,344–358,368creating,345–346creatingwithstate,347threadparameters,348–349ThreadStartdelegate,347deadlocks,355449INDEXsynchronizingbetween,349–355withcloning,354–355exclusivelocks,352–354waitingforendof,346–347Thread.
Sleep()method,349,358–359ThreadStartdelegate,346–347,347throughput,368Throwkeyword,121timeslicing,342–344,368toCurrencyparameter,153_toCurrencyproperty,153Tokenize()method,132ToString()method,56–57,73,209,264,307–308,309,312totalvariable,34TraderBaseClassclass,302TranslateHello()method,53,54–55,61TranslateWord()method,326translatorapplication,52–68charactermapping,67–68creatingtestapplications,53–55quotingstrings,65–66responsibility,55translatinghello,53Translatorclass,52–53whitespace,60–65findingsubstrings,61trimming,60–61writingtestsbeforewritingcode,63–65Translatorclass,52–53Translator.
vbfile,53TrimmingWhitespace()method,61Trykeyword,120,125,127TryCast()function,202,219try/catchblock,132–133TryParse()method,70–71,131typeattribute,327typecasting,171,194typecommand,269typedconvention-basedarchitecture,shared,337–338TypeNamepropertyidentifier,338types.
Seecustom-definedtypes;number-relatedtypes;stringtypescustom,283defining,272–274dynamicallyinstantiatingusinginstantiatedtypes,325–326usingsingletons,324–325Equals()method,282–283GetHashCode()method,279–282Type-safe,34UUIntegertype,44ULongtype,44UML(UnifiedModelingLanguage),26unboxing,233underflow,41underscore(_)character,11Unicode,68UnifiedModelingLanguage(UML),26uniqueidentifiertype,381Unstable,334UpgradeToWriterLock()method,359usability,291userassembly,222userinterface,29user-definedtypes.
Seecustom-definedtypesUShorttype,44Vvalueparameter,143,305Valueproperty,IDbDataParametertype,384valuetypes,42–43constraints,81–86effectsofcopyingdata,82–84parameters,85–86referencetypes,84–85referencingusing,91–94valuevariable,332ValueTypetype,306variables,17–19,108verification,148–151conditionalstatements,148–150partialclasses,150–151VerifyExchangeRate()method,150versionnumbers,dynamicloadingofstronglynamedassembliesusing,333–336versioningassemblies,335–336450INDEXVisualBasic,166–168interfaces,165–195,166–168properties,141–144problemswith,143,144rewritingtestcodetouse,142VisualBasicclasslibrary,25VisualBasicExpress,23applicationtypes,3–4classlibraryproject,14–19addingtosolutions,14callingfunctionality,16–17constants,17–19definingreferences,15movingfunctionality,15variables,17–19consoleapplicationproject,12addingtosolutions,12"hello,world",13settingstartupproject,13ConsoleApplicationproject,13designingrelationaldatabasesusing,377–381addingtables,378–381configuringDataSource,377–378downloading,2installing,3navigatingusercontrolsofsolutions,12.
NETFramework,19–21projects,4solutions,4Windowsapplicationprojectaddingcommentsto,11"hello,world",8–11running,7–8savingsolutions,6–7viewingsourcecode,5VisualBasicExpressDataSourceConfigurationWizard,377VisualWebDeveloperExpress,1WWhileloop,392whitespace,60–65character-by-charactercomparison,59–60findingsubstrings,61responsibility,55trimming,60–61writingtestsbeforewritingcode,63–65Windowsapplicationproject,4addingcommentsto,11"hello,world",8–11running,7–8savingsolutions,6–7viewingsourcecode,5Windows,settinglanguages/culturesin,68Windows.
FormsInvoke()method,366Windows.
Formslibrary,363WindowsSystem32directory,333winnerstable,381Withkeyword,214wordallotest,63wordallowordtest,63worksheetvariable,305Worksheetclass,302,307worksheet.
Calculate()method,310WorksheetIdentifiersclass,299writingtestsforcurrencyexchangeapplication,137–152baseclasses,138–139,151–152inheritance,139–141,145–146scopemodifiers,146–148structuralcode,138verification,148–151VisualBasicproperties,141–144XXMLelement,320XML-basedconfigurationfiles,319–320.
xsdfile,387.
xsd-lotteryDataSet.
xsdextension,387Yyeardatamember,183yearparameter,184
Megalayer是新晋崛起的国外服务器商,成立于2019年,一直都处于稳定发展的状态,机房目前有美国机房,香港机房,菲律宾机房。其中圣何塞包括CN2或者国际线路,Megalayer商家提供了一些VPS特价套餐,譬如15M带宽CN2线路主机最低每月48元起,基于KVM架构,支持windows或者Linux操作系统。。Megalayer技术团队行业经验丰富,分别来自于蓝汛、IBM等知名企业。Mega...
无忧云怎么样?无忧云,无忧云是一家成立于2017年的老牌商家旗下的服务器销售品牌,现由深圳市云上无忧网络科技有限公司运营,是正规持证IDC/ISP/IRCS商家,主要销售国内、中国香港、国外服务器产品,线路有腾讯云国外线路、自营香港CN2线路等,都是中国大陆直连线路,非常适合免备案建站业务需求和各种负载较高的项目,同时国内服务器也有多个BGP以及高防节点。一、无忧云官网点击此处进入无忧云官方网站二...
在2014年发现原来使用VPS的客户需求慢慢的在改版,VPS已经不能满足客户的需求。我们开始代理机房的独立服务器,主推和HS机房的独立服务器。经过一年多的发展,我们发现代理的服务器配置参差不齐,机房的售后服务也无法完全跟上,导致了很多问题发生,对使用体验带来了很多的不便,很多客户离开了我们。经过我们慎重的考虑和客户的建议。我们在2015开始了重大的改变, 2015年,我们开始计划托管自己...
queueuserworkitem为你推荐
邮箱群发如何在电子邮箱中实现群发邮件?可以发外链的论坛发外链的论坛哪个比较好,哪个论坛能发外链,能发广告急求。。。。自助建站自助建站可信吗?淘宝店推广如何推广淘宝店中小企业信息化什么是企业信息化,应该这样实施ios7固件下载ios7发布当天是否有固件下载xp系统停止服务xp系统停止服务怎么办小米手柄小米手柄能连几个手机如何清理ie缓存怎么清理IE的缓存域名库域名赎回期过了多长时间可以注册
域名注册 windows虚拟主机 云南服务器租用 域名主机基地 edgecast t楼 java主机 godaddy续费优惠码 万网优惠券 eq2 镇江联通宽带 e蜗 idc是什么 免费活动 流量计费 亚马逊香港官网 免费测手机号 双线机房 西安主机 iki 更多