25.12.2015 Views

Professional

1l6xhbR

1l6xhbR

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

eference types<br />

number of, 521<br />

Program class, 8, 161, 576<br />

Program.cs file, 8<br />

programs. See also applications; code<br />

attributes, 7<br />

testing, 73–74<br />

ProgressRing control, 726–728<br />

project files, 7<br />

project solution files, 7<br />

projecting fields, 474<br />

propagating exceptions, 136–138<br />

properties, 331–333<br />

accessibility, 335–336<br />

accessing private fields, 179<br />

attached, 623–624<br />

automatic, 343–345, 351<br />

binding control properties to object properties,<br />

652. See also data binding<br />

declaring, 331–332<br />

defined, 331<br />

immutable, 345<br />

initializing, 345<br />

initializing objects with, 345–349, 351<br />

interface, 337–339, 350<br />

naming, 333<br />

of nullable types, 186–187<br />

reading values, 333–334<br />

read-only, 334<br />

replacing methods with, 339–343<br />

restrictions on, 336–337<br />

simulating assignment, 494<br />

virtual, 338<br />

write-only, 334–335<br />

Properties folder, 7<br />

property getters and setters, 331<br />

PropertyChanged events, 660–661, 674<br />

protected access, 264–266<br />

protected keyword, 266<br />

pseudorandom number generator, 223<br />

public const int fields, 235, 238<br />

public constructors, 213. See also constructors<br />

default, 259<br />

public events, 458<br />

public fields, 265–266, 301, 343–344<br />

public keyword, 156, 514<br />

public methods, 180, 182, 265–266, 301<br />

writing, 171–172<br />

Publish Web wizard, 718–721<br />

Push method, 399<br />

PUT requests, 728, 735<br />

PutAsync method, 735, 748<br />

Q<br />

query operations, parallelizing, 575–580<br />

query operators, 479–487<br />

retrieving data, 486–487<br />

querying data, 469<br />

Queue class, 374<br />

object-based version, 369–374<br />

Queue class, 399–400, 404–405<br />

thread-safe version, 588<br />

queues, storing values in, 426–427<br />

Quick Find functionality, 41<br />

“Quickstart: Translating UI resources (XAML)” page,<br />

678<br />

R<br />

Random class, 223, 235, 597<br />

random number generator, 236<br />

read locks, 586<br />

read operations, 586, 600<br />

ReadAsStringAsync method, 723–724, 736, 748<br />

reader.Dispose method, 148–149<br />

reader.ReadLine method, 71, 112, 311<br />

ReaderWriterLockSlim class, 586, 600<br />

readInt method, 71<br />

ReadLine method, 71, 112, 311<br />

read-only fields, 234<br />

read-only indexers, 358<br />

read-only properties, 334, 344–345, 350<br />

Rectangle class, 286<br />

Rectangle controls, 653<br />

rectangular arrays, 231<br />

ref parameters, 187–190, 199<br />

params keyword and, 247<br />

refactoring code, 73<br />

reference types<br />

arrays, 222. See also arrays<br />

Clone methods, 179<br />

copying, 179–180, 199, 208<br />

covariance, 394<br />

dangling references, 309<br />

declaring, 178<br />

defined, 177<br />

destructors, 307. See also destructors<br />

769

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

Saved successfully!

Ooh no, something went wrong!