Link to home
Start Free TrialLog in
Avatar of MrTV
MrTVFlag for Thailand

asked on

what is {0} in c#

What is {0} {1} {2} in code below
int aValue = 200 ;
int bValue = 896;
int result;
result = Math.Max(aValue,bValue);
result += BValue * Math.max(aValue, bValue) -  aValue;
Console.WriteLune(Largest value between {0} " + " and {1} is {2}", aValue, bValue,
        Math.Max(aValue, bValue));

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial