Welcome Guest ( Log In | Register )

Bump TopicReply to this topicRSS feed Start new topic Start Poll

Outline · [ Standard ] · Linear+

> #{0}

mike9407
post Apr 21 2017, 07:39 PM, updated 7d ago
Getting Started
**
Group: Junior Member
Posts: 159

Joined: May 2015
I don't understand what is this in console program,can someone explain?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
PlayPlayHa
post Yesterday, 04:44 PM
New Member
*
Group: Junior Member
Posts: 30

Joined: Nov 2008
sample:

System.Console.WriteLine("The Factorial of {0} is {1}.", num, result);

in this case:
{0} is first parameter -> num
{1} is 2nd parameter -> result

programming indexing is start from 0.. so 0 means 1st, 1 means 2nd, onwards blabla

User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Bump TopicReply to this topicTopic OptionsStart new topic
 

Switch to:
| Lo-Fi Version
0.0608sec    8.40    5 queries    GZIP Disabled
Time is now: 27th April 2017 - 08:52 PM