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.

static using statements<br />

static using statements, 170<br />

static void methods, 390<br />

Status property, 548<br />

stepping into and out of methods, 74–77, 86<br />

Stopwatch objects, 526<br />

StorageFile class, 573<br />

storing data. See arrays; collections; generics<br />

StreamReader class, 311<br />

String class, 392, 579<br />

string concatenation, 45–46<br />

string interpolation, 46, 50, 248<br />

string type, 178<br />

string values<br />

converting to integers, 45, 58<br />

representing values in variables, 43–44, 50<br />

for variable names, 663<br />

StringReader class, 311<br />

strings<br />

appending to strings, 108<br />

converting enumeration variables, 202–203<br />

converting to integers, 128–129<br />

determining if empty, 365<br />

splitting, 579, 688<br />

wrapping, 392<br />

struct keyword, 208<br />

structs, 8<br />

structure variables<br />

copying, 215–218<br />

declaring, 210–211, 220<br />

initializing, 211–212, 220<br />

nullable, 211<br />

Structured Query Language (SQL), 470<br />

structures, 8, 206–219<br />

vs. classes, 209–210<br />

comparing operators, 500<br />

compatibility with WinRT, 218–219<br />

creating, 212–215<br />

declaring, 208–209, 220<br />

default constructors, 209, 212–213<br />

field initialization, 209, 211–212<br />

fields, 208<br />

inheritance and, 257–258<br />

interface implementation, 279<br />

keyword combinations, 302<br />

operators for, 208<br />

public constructors, 213<br />

types, 206–207<br />

Style elements, 639, 649<br />

styles<br />

BasedOn property, 642<br />

defining, 639, 649<br />

Microsoft Blend, 648<br />

Setter elements in, 639<br />

for user interface, 638–648<br />

subscribers, 456<br />

subtractValues method, 51<br />

summary functions, 480<br />

summary methods, 476–477<br />

SuppressFinalize method, 321–322<br />

Swap method, 389<br />

switch keyword, 100<br />

switch statements, 99–105, 687<br />

fall-through, 101–102<br />

rules, 101–102<br />

syntax, 100<br />

writing, 102–104<br />

symmetric operators, 496–497, 510–511<br />

synchronization<br />

canceling, 587<br />

locking data, 584<br />

for shared data access, 577<br />

task, 581–598<br />

of tasks, 581–599<br />

threads, 585, 599<br />

synchronization primitives, 584–586<br />

synchronous I/O, 560<br />

System.Array class, 225, 228–229, 424<br />

System.Collections namespace, 400<br />

System.Collections.Concurrent namespace, 400, 587<br />

System.Collections.Generic namespace, 374–376,<br />

395, 399, 410, 424<br />

System.Collections.IEnumerable interface, 423–431<br />

System.Diagnostics.Stopwatch objects, 526<br />

System.Exception exceptions, 131, 563<br />

System.IComparable interface, 380–381<br />

System.IComparable interface, 381<br />

System.Int32 structure, 65, 206–207<br />

System.Int32 type, 387<br />

System.Int64 structure, 206–207<br />

System.InvalidCastException exceptions, 372<br />

System.Linq namespace, 473<br />

System.Object class, 193<br />

inheritance from, 258<br />

overriding methods, 301<br />

System.Random class, 223<br />

System.Single structure, 206–207<br />

772

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

Saved successfully!

Ooh no, something went wrong!