25.12.2015 Views

Professional

1l6xhbR

1l6xhbR

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Code and Text Editor window<br />

Code and Text Editor window. See also<br />

Visual Studio 2015<br />

generating and editing code shortcut menu,<br />

69–70<br />

Quick Actions option, 70<br />

“Code First to an Existing Database” page, 704<br />

code-first entity modeling approach, 704<br />

codes for characters, 119<br />

Collect method, 309<br />

collection classes, 277–278, 399–410<br />

thread-safe, 587–598<br />

collections<br />

adding elements, 401, 421<br />

AggregateException exceptions, 555<br />

vs. arrays, 415<br />

BitArray class, 400<br />

collection classes, 399–410. See also collection<br />

classes<br />

counting elements, 403, 421<br />

creating, 420<br />

data integrity, 478<br />

defining type, 474<br />

Dictionary class, 407–408<br />

enumerating elements, 423–431<br />

finding elements, 421<br />

HashSet class, 409–410<br />

implementing, 416–420<br />

initializers, 411–413<br />

inserting elements into middle, 401<br />

inserting items, 403<br />

iterating, 401, 403, 421<br />

iterating in parallel, 576–578<br />

joining, 578–580<br />

lambda expressions, 413–415<br />

LinkedList class, 403–404<br />

List class, 401–403<br />

nongeneric, 400<br />

predicates, 411–413<br />

Queue class, 404–405<br />

removing elements, 401, 403, 421<br />

sizing, 416<br />

SortedList class, 408–409<br />

sorting elements, 401<br />

Stack class, 405–406<br />

storing and retrieving data, 587–588<br />

thread-safe, 400<br />

colon (:) in named parameters, 79<br />

Colors class, 291<br />

ColumnarHeaderStyle style, 643<br />

COM (Component Object Model), 77<br />

ComboBox controls<br />

adding to page, 613–614<br />

adding values, 614–615<br />

data binding with, 663–665<br />

ComboBoxItem controls, 614–615<br />

command buttons, 233<br />

command Mode property, 692<br />

Command pattern, 669–680<br />

Command Prompt windows, 3<br />

Command property, 678<br />

command sets, Cortana, 682–683<br />

CommandBar controls, 678<br />

CommandPrefix element, 682<br />

commands. See also names of individual commands<br />

activating with Cortana, 680–695<br />

adding to ViewModel, 669–680<br />

binding control action to, 669–670<br />

spoken or typed, 692<br />

comments, 11<br />

commenting out code, 488<br />

TODO comments, 161<br />

Common Intermediate Language (CIL), 218<br />

common language runtime (CLR), 77, 218, 300–301<br />

catching all exceptions, 142–143, 146<br />

object destruction, 306. See also garbage<br />

collection<br />

Compare method, 99, 395–396<br />

compareClick method, 95–96<br />

CompareTo method, 380–381, 384<br />

default implementation, 482<br />

compiler<br />

destructor conversion, 308<br />

memory allocation for class types, 177<br />

memory allocation for value types, 177<br />

property generation, 344–345<br />

resolving method calls, 80–85<br />

type checking, 374<br />

compile-time errors, 68<br />

compiling code, 12<br />

complex numbers, 501–502<br />

Complex type, 502<br />

Component Object Model (COM), 77<br />

compound addition (+=) operator, 108<br />

compound assignment evaluation, 498–499<br />

compound assignment operators, 107–108, 119<br />

compound subtraction (-=) operator, 108<br />

computer memory, 184, 190–193, 198, 206, 305<br />

concurrency, 519. See also multitasking<br />

synchronizing access to data, 581–598<br />

754

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!