Appendix A. Operator Precedence Chart

Table of contents:

Operators are shown in decreasing order of precedence from top to bottom with each level of precedence separated by a horizontal line. The associativity of the operators is shown in the right column.

Figure A.1. Operator precedence chart.

Operator

Type

Associativity

.

member access

left-to-right

()

method call

 

[]

element access

++

postfix increment

--

postfix decrement

new

object creation

typeof

get System.Type object for a type

sizeof

get size in bytes of a type

checked

checked evaluation

unchecked

unchecked evaluation

 

+

unary plus

right-to-left

-

unary minus

!

logical negation

~

bitwise complement

++

prefix increment

--

prefix decrement

(type)

cast

 

*

multiplication

left-to-right

/

division

 

%

remainder

 

+

addition

left-to-right

-

subtraction

 

>>

right shift

left-to-right

<<

left shift

 

<

less than

left-to-right

>

greater than

 

<=

less than or equal to

 

>=

greater than or equal to

 

is

type comparison

 

as

type conversion

 

!=

is not equal to

left-to-right

==

is equal to

 

&

logical AND

left-to-right

^

logical XOR

left-to-right

|

logical OR

left-to-right

&&

conditional AND

left-to-right

||

conditional OR

left-to-right

??

null coalescing

right-to-left

?:

conditional

right-to-left

=

assignment

right-to-left

*=

multiplication assignment

 

/=

division assignment

 

%=

remainder assignment

 

+=

addition assignment

 

-=

subtration assignment

 

<<=

left shift assignment

 

>>=

right shift assignment

 

&=

logical AND assignment

 

^=

logical XOR assignment

 

|=

logical OR assignment

 


Appendix B Number Systems

Preface

Index

    Introduction to Computers, the Internet and Visual C#

    Introduction to the Visual C# 2005 Express Edition IDE

    Introduction to C# Applications

    Introduction to Classes and Objects

    Control Statements: Part 1

    Control Statements: Part 2

    Methods: A Deeper Look

    Arrays

    Classes and Objects: A Deeper Look

    Object-Oriented Programming: Inheritance

    Polymorphism, Interfaces & Operator Overloading

    Exception Handling

    Graphical User Interface Concepts: Part 1

    Graphical User Interface Concepts: Part 2

    Multithreading

    Strings, Characters and Regular Expressions

    Graphics and Multimedia

    Files and Streams

    Extensible Markup Language (XML)

    Database, SQL and ADO.NET

    ASP.NET 2.0, Web Forms and Web Controls

    Web Services

    Networking: Streams-Based Sockets and Datagrams

    Searching and Sorting

    Data Structures

    Generics

    Collections

    Appendix A. Operator Precedence Chart

    Appendix B. Number Systems

    Appendix C. Using the Visual Studio 2005 Debugger

    Appendix D. ASCII Character Set

    Appendix E. Unicode®

    Appendix F. Introduction to XHTML: Part 1

    Appendix G. Introduction to XHTML: Part 2

    Appendix H. HTML/XHTML Special Characters

    Appendix I. HTML/XHTML Colors

    Appendix J. ATM Case Study Code

    Appendix K. UML 2: Additional Diagram Types

    Appendix L. Simple Types

    Index



    Visual C# How to Program
    Visual C# 2005 How to Program (2nd Edition)
    ISBN: 0131525239
    EAN: 2147483647
    Year: 2004
    Pages: 600

    Similar book on Amazon

    Flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net