Results 1 to 3 of 3

Thread: Want info on C# Operators

  1. #1
    Join Date
    Nov 2008
    Posts
    30

    Want info on C# Operators

    Hello friends,

    I want some information about C# Operators. I just start learning C#.

    Thanks

  2. #2
    Join Date
    Jul 2008
    Posts
    92

    C# Operators

    C# provides a large set of operators, which are symbols that specify which operations to perform in an expression. C# predefines the usual arithmetic and logical operators, as well as a variety of others as shown in the following table.

    Arithmetic + - * / %

    The arithmetic operators (+, -, *, /) can produce results that are outside the range of possible values for the numeric type involved.
    Integer arithmetic overflow either throws an OverflowException or discards the most significant bits of the result (see below). Integer division by zero always throws a DivideByZeroException.

    Logical (boolean and bitwise) & | ^ ! ~ && || true false

    String concatenation +

    Increment, decrement ++ --

    Shift << >>

    Relational == != < > <= >=

    Assignment = += -= *= /= %= &= |= ^= <<= >>=

    Indexing []

    Cast ()

    Conditional ?:

  3. #3
    Join Date
    Jul 2008
    Posts
    99

    Re: Want info on C# Operators

    Most operators are either unary or binary. Unary operators form expressions on a single variable, but binary operators form expressions with two variables.

Similar Threads

  1. How to use an Operators in PHP?
    By Mr.ken in forum Software Development
    Replies: 5
    Last Post: 05-03-2010, 06:23 AM
  2. php operators and keywords
    By Fragman in forum Software Development
    Replies: 5
    Last Post: 26-02-2010, 06:15 PM
  3. What are the Operators and Expressions in C# ?
    By kyosang in forum Software Development
    Replies: 4
    Last Post: 09-02-2010, 06:32 AM
  4. overloading of operators in C++
    By shilong in forum Software Development
    Replies: 3
    Last Post: 28-01-2009, 10:30 PM
  5. Using new and delete Operators in C++
    By Rahul45 in forum Software Development
    Replies: 1
    Last Post: 10-12-2008, 01:31 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,483,219.14326 seconds with 17 queries