MCQs > IT & Programming > C# > What will be the output of the following Main program in a C# console application (Assume required namespaces are included)? static void Main(string[] args) { string sPrint = String.Format('{{ My name is bond. }}'); Console.WriteLine(sPrint); Console.ReadLine(); }

C# MCQs

What will be the output of the following Main program in a C# console application (Assume required namespaces are included)?

static void Main(string[] args)

        {

            string sPrint = String.Format("{{ My name is bond. }}");

            Console.WriteLine(sPrint);

            Console.ReadLine();

        }

Answer

Correct Answer: { My name is bond. }

Explanation:

Note: This Question is unanswered, help us to find answer for this one

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

More C# MCQ Questions

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it