C# 0 The Complete Reference



Download 4,07 Mb.
Pdf ko'rish
bet1088/1096
Sana23.01.2022
Hajmi4,07 Mb.
#402171
1   ...   1084   1085   1086   1087   1088   1089   1090   1091   ...   1096
Bog'liq
C-Sharp 3 The Complete Reference Herbert Schildt

O

O

Oak, 4


Object(s), 12, 109

attributes of, obtaining the, 

485–486

class factory to construct, using 

a, 186–187

copies of, deep vs. shallow, 

660, 662

creating, 111, 114–115

to methods, passing, 172–176

reflection for runtime 

instantiation of, using, 471–475

returning, 185–188

Object class, 659, 660

object class, 305–310, 467, 495–496, 

749–750

methods defined by, table of, 

306, 659

reference to value type, 307–309

Object initialization

with another object, 195–198

with constructor, 126–130

with object initialization syntax, 

199–200, 260–261

Object.Equals( ),  226

Object.HashCode( ),  226

Object-oriented programming 

(OOP), 4, 11–13, 165

ObjectDisposedException, 374, 375, 

376, 831

Obsolete built-in attribute, 491, 493

OfType( ) extension method, 752

on, 566, 568

One field, 635

One’s complement (unary NOT) 

operator (~), 73, 78–79

OpenRead( ),  844

OpenWrite( ),  844

operator keyword, 213

Operator overloading, 213–244, 543

binary, 213–216, 220–224

logical, 229–235

and overloading an operator 

method, 220–224

relational, 224–226

restrictions, 239–240

and true and false, 226–229, 

231–235

unary, 213–214, 216–220

Operator(s)

? conditional, 82–83

arithmetic, 24, 63–67

arrow (–>), 589

assignment.

See

 Assignment 

operator(s)

bitwise, 73–81

conversion.

See

 Conversion 

operators

decrement. 



See

Decrement 

operator (– –)

and generics, 544

implication, 69–70

increment. 



See

 Increment 

operator (++)

lambda (=>), 413–414

logical.

See

 Logical operators

methods, 213–214, 220–224

parentheses and, 83

pointer, 587

precedence, table of, 84

relational. 

See

 Relational 

operators

OR operator (|)

bitwise, 73, 76–77

logical, 67, 68, 69–70, 71, 229–235

OR operator, short-circuit or 

conditional  (||), 67, 70, 71, 229, 

231–235

Or( ),  772

orderby clause, 552–556

www.freepdf-books.com




I n d e x

881


OrderBy( ) extension method, 574

OrderedDictionary class, 774

out parameter modifier, 176, 178–181, 

192–193, 214, 252, 261

OutOfMemoryException, 353

Overflow in arithmetic 

computations, 360

OverflowException, 353, 397

and checked and unchecked, 

360–362


Overloading

constructors, 194–199, 543

indexers, 249–251, 543

methods, 188–193, 542–543

operators.

See

 Operator 

overloading

override keyword, 294, 297

Overriding, method, 294–304

and dynamic method 

dispatch, 294

and virtual methods in a generic 

class, 540–541

P

P

PadLeft( ),  681–682

PadRight( ),  681–682

Parameter(s), 116

and constructors, 128

and methods, 122–126

modifiers, ref and out, 176–182

and overloaded methods, 

188–193

positional vs. named, 487–490

type.

See

 Type parameter(s)

variable-length, 182–185

ParameterInfo class, 465

ParameterizedThreadStart 

delegate, 713

ParameterType property, 465

params parameter modifier, 

182–185, 193

Parse( ) methods, 396–398, 624, 625, 

627, 628–629, 632, 638, 640

partial contextual keyword, 33, 

603, 604

PathAndQuery property, 833–834

PathTooLongException, 372, 373

Peek( ), 366, 767, 769, 770, 794, 795, 

796, 797

Permits, semaphore, 734

PI field, 617

Point structure, 852

Pointer(s), 544, 585–595

arithmetic, 589–591, 592

comparisons, 591

indexing, 592–593

multiple indirection and, 594–595

operators, 587, 589

referent type of, 586, 590, 591

and strings, 593–594

Polymorphism, 12–13

and overridden methods, 

runtime, 294, 297

and interfaces, 311

and overloaded methods, 

188, 193


Pop( ), 767, 794, 795

Port property, 833–834

Portability, 5, 8, 36

Position property, 365, 392

PositiveInfinity field, 628, 630

Pow( ),  620,  621–623

#pragma directive, 451, 457

PreAuthenticate property, 826

Predicate delegate, 652–653

Preprocessor directives, 451–457

Previous property, 783, 787

Primitive types, 35

Priority property, 715

private access specifier, 165–167

and inheritance, 276

Private class members and 

inheritance, 272–275

Projection initializer, 571

Process class, 747

Process, definition of, 703

Programming

mixed-language, 5, 7, 8, 596

multithreaded. 

See

Multithreaded programming

object-oriented (OOP), 4, 11–13

structured, 3, 11, 12

Properties, 245, 254–268, 276

access private base class 

members using, 273–275

abstract, 301

auto-implemented, 7, 255, 

259–260, 319

and generics, 544

and indexers to create a custom 

array, using, 264–268

interface, 318–320

and object initializers, 260–261

overridden, 297

read-only or write-only, 

creating, 256

restrictions on, 261

virtual, 297

protected access specifier, 165, 273, 

275–276, 458

Protocol, network, 823

pluggable, 823–824, 829

ProtocolVersion property, 835

ProtocolViolationException, 830, 831

Proxy property, 826, 843

public access specifier, 110, 116, 

165–167

and inheritance, 276

Pulse( ),  723–727

PulseAll( ),  723–724

Push( ), 767, 794, 795


Download 4,07 Mb.

Do'stlaringiz bilan baham:
1   ...   1084   1085   1086   1087   1088   1089   1090   1091   ...   1096




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish