MCQs > IT & Programming > C# > If you have this in your configuration: What does the output look like for this code: var someSetting = ConfigurationManager.AppSettings['SomeSetting']; Console.WriteLine('SomeSetting is {0} and is of type {1}', someSetting, someSetting.GetType().Name);

C# MCQs

If you have this in your configuration: What does the output look like for this code: var someSetting = ConfigurationManager.AppSettings["SomeSetting"]; Console.WriteLine("SomeSetting is {0} and is of type {1}", someSetting, someSetting.GetType().Name);

Answer

Correct Answer: SomeSetting is 1 and is of type String

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

search

C# Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it