Professional
1l6xhbR
1l6xhbR
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Parallel.Invoke method<br />
okClick method, 30–31<br />
on clause of equals operator, 480–481<br />
OnActivated method, 685–687<br />
OnLaunched method, 29, 684–685<br />
OnPropertyChanged method, 661, 674<br />
openFileClick method, 111<br />
operands, 45<br />
OperationCanceledException exceptions, 551, 556,<br />
558, 580<br />
catching and handling, 552–554<br />
operator !=, 500–501<br />
operator ==, 500–501<br />
operator+, 497<br />
operator keyword, 494, 509, 514<br />
operator overloading, 444, 493–514<br />
operators, 493–494<br />
arguments, 495<br />
arithmetic, 45–54<br />
associativity, 53, 90–91, 493–494<br />
binary, 494<br />
Boolean, 88–91<br />
comparing, 500<br />
compound assignment, 107–108, 498–499<br />
conditional logical, 89–90<br />
constraints, 494<br />
conversion, 508–514<br />
data types and, 45–47<br />
equality, 501<br />
implementing, 501–508, 514<br />
increment and decrement, 499<br />
for int type bits, 354–355<br />
language interoperability and, 498<br />
null-conditional, 184–186<br />
overloaded, 494–496<br />
pairs, 500–501<br />
parameter types, 495–496<br />
precedence, 52–53, 58, 90–91, 493–494<br />
prefix and postfix forms, 55, 499<br />
public, 495<br />
static, 495<br />
structures and, 208<br />
symmetric, 496–497<br />
unary, 55, 493<br />
optional parameters, 77–85<br />
ambiguities, resolving, 80–81<br />
defining, 79<br />
vs. parameter arrays, 252–254<br />
OR (|) operator, 354<br />
OrderBy Descending method, 476<br />
OrderBy method, 475–476, 491<br />
orderby query operator, 479, 491<br />
ordering data, 475–477<br />
out keyword, 189, 394<br />
out parameters, 187–190, 199<br />
params keyword and, 247<br />
OutOfMemoryException exceptions, 192<br />
Output window, 12<br />
overflow checking, 139<br />
checked expressions, 140–143<br />
OverflowException exceptions, 129, 131<br />
catch handler for, 141–142<br />
in checked statements, 139–140<br />
overloading, 10, 68<br />
constructors, 158–159<br />
operators, 444, 493–514<br />
vs. parameter arrays, 243–244<br />
params keyword and, 246–247<br />
override keyword, 263–265<br />
override methods, 295–296<br />
declaring, 263–265, 276<br />
rules for, 264<br />
writing, 269–270<br />
overriding vs. hiding, 262–263<br />
P<br />
Pack class, 235<br />
Package.appxmanifest file, 604<br />
Page tag, 607<br />
paging, 721<br />
Parallel class, 536–543<br />
abstracting tasks, 536–540<br />
considerations for, 541–543<br />
degree of parallelization, 538<br />
ParallelLoopState objects, 549<br />
scheduling tasks, 542<br />
Parallel LINQ (PLINQ), 560, 575–580, 599<br />
canceling queries, 580, 599<br />
iterating collections, 576–578<br />
Parallel.For method, 537, 539–543, 558<br />
canceling, 549<br />
lock statements, 597<br />
unpredictable behavior, 582–583<br />
Parallel.ForEach method, 542–543, 558<br />
canceling, 549<br />
Parallel.ForEach method, 537<br />
Parallel.Invoke method, 537–538, 541, 543<br />
767