6What does string.Empty represent?AA zero-length string ""BA spaceCnullDA newlineView AnswerDiscussWorkspaceReportSaveMedium
7What is the output of the following program?string s = "Hello"; s.ToUpper(); Console.WriteLine(s);AHELLOBhelloCHelloDCompile errorView AnswerDiscussWorkspaceReportSaveMedium
8What is the output of the following program?Console.WriteLine("hello".Length);A4B6CCompile errorD5View AnswerDiscussWorkspaceReportSaveEasy
9What is the output of the following program?Console.WriteLine("CSharp"[1]);ACBCompile errorChDSView AnswerDiscussWorkspaceReportSaveEasy
10Strings in C# are immutable. This means:AStrings cannot be comparedBMethods like ToUpper return a new string instead of changing the originalCStrings cannot be assignedDStrings are value typesView AnswerDiscussWorkspaceReportSaveEasy