Current .Net Version: 2.0.50727
Home
Articles
C# & .Net Framework Reference
Practice C# Online
XML Web Services
RSS Feeds
Code Snippets
T-SQL Scripts
Videos
Valuable Links
Contact Us
Mike's C#, VS.NET and SQL Blog




ROR XML Info.
C# & .Net Framework Reference
-- Operator (C#)

Full Name:
--

Short Name:
--

Type of Entity:
C#

Abstract:
The decrement operator (--) decrements its operand by 1. The decrement operator can appear before or after its operand: --variable and variable--. The first form is a prefix decrement operation. The result of the operation is the value of the operand "after" it has been decremented. The second form is a postfix decrement operation. The result of the operation is the value of the operand "before" it has been decremented.

MSDN Source URL:
http://msdn2.microsoft.com/wc3z3k8c.aspx

 
COPYRIGHT/DISCLAIMER | CONTACT US