1
Answer

INTRODUCTION TO C# PROGRAMMING

 Console.Write("{0}", age);
        }

Please what does the{0} mean in the program below.....

class AGE
    {
        static void Main()
            {
            Console.WriteLine("Input your age:");
            int age =Convert.ToInt32(Console.ReadLine());
            Console.WriteLine("Your age after 10 years is:");
            age = age+10;
              Console.Write("{0}", age);
        }
    }
}

Answers (1)