15.01.2013 Views

Free-ebooks-library - Bahar Ali Khan

Free-ebooks-library - Bahar Ali Khan

Free-ebooks-library - Bahar Ali Khan

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.

Range query operator, 412<br />

range variables (LINQ), 320, 322<br />

RCWs (Runtime-Callable Wrappers),<br />

971<br />

read-only properties, 70<br />

Reader/Writer locks, 865–869<br />

readonly modifier, 64<br />

ReadOnlyCollection, 303<br />

real number rounding, 27<br />

real number types, 21<br />

rectangular arrays, 33<br />

recursion, 36<br />

ref modifier, 39<br />

ref parameter modifier, 39<br />

reference conversions, 16, 78<br />

reference types, 17, 18<br />

in arrays, 33<br />

classes (see classes)<br />

nulls, 19<br />

predefined, 20<br />

ReferenceEquals method, 249<br />

references, 39<br />

weak references, 494–498<br />

caching and, 495<br />

events and, 496<br />

referential equality, 246<br />

reflection, 681<br />

assemblies, reflecting, 700<br />

assembly loading, reflection-only<br />

context, 700<br />

modules, 701<br />

circular dependencies, 726<br />

dynamic code generation (see dynamic<br />

code generation)<br />

emitting assemblies and types, 714–<br />

717<br />

Reflection.Emit object model, 716<br />

saving emitted assemblies, 715<br />

emitting generic methods and types,<br />

723–724<br />

emitting type members, 717–722<br />

attaching attributes, 722<br />

constructors, 721<br />

emitting methods, 718<br />

fields and properties, 719<br />

methods, 718<br />

IL, parsing, 728–733<br />

members, reflecting and invoking,<br />

688–699<br />

C# members versus CLR members,<br />

691<br />

delegates, 695<br />

dynamic invocation, 693<br />

generic methods, 697<br />

generic type members, 692<br />

member types, 690<br />

members of generic interfaces, 697–<br />

699<br />

method parameters, 693–695<br />

nonpublic members, accessing,<br />

696<br />

Reflection.Emit object model, 716<br />

types, reflecting and activating, 682–<br />

688<br />

base types and interfaces, 685<br />

generic types, 687<br />

instantiating types, 685<br />

obtaining types, 682<br />

type names, 683<br />

uncreated closed generics, 725<br />

RegEx method, 978<br />

Regex.Match, 978<br />

regular expressions, 977<br />

character categories, 993<br />

character escapes, 980<br />

character sets, 981, 992<br />

compiled regular expressions, 978<br />

cookbook recipes, 988–991<br />

groups, 985<br />

named groups, 986<br />

language reference, 992–995<br />

options, 979<br />

quantifiers, 982, 993<br />

greedy versus lazy quantifiers, 982<br />

RegexOptions flags enum, 979<br />

replacing and splitting text, 987<br />

MatchEvaluator delegate, 988<br />

Regex.Split method, 988<br />

zero-width assertions, 983<br />

anchors, 984<br />

lookahead and lookbehind, 983<br />

word boundary assertions, 985<br />

reimplementing an interface, 94<br />

relational operators, 151<br />

documentation tag, 177<br />

Index | 1025

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

Saved successfully!

Ooh no, something went wrong!