postfix decrement
class MainClass
{
public static void Main()
{
int length = 3;
int newLength = length--;
System.Console.WriteLine("Postfix decrement example");
System.Console.WriteLine("length = " + length);
System.Console.WriteLine("newLength = " + newLength);
}
}
Output Postfix decrement example
length = 2
newLength = 3
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
|