MCQs > IT & Programming > C# > Assuming the local system time offset is UTC+5, what does the following program output? using System; public class Program { public static void Main() { DateTime time1 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Local); DateTime time2 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Utc); TimeSpan span = time2 - time1; Console.WriteLine(span); } }

C# MCQs

Assuming the local system time offset is UTC+5, what does the following program output? using System; public class Program { public static void Main() { DateTime time1 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Local); DateTime time2 = new DateTime(2000, 1, 1, 10, 45, 0, DateTimeKind.Utc); TimeSpan span = time2 - time1; Console.WriteLine(span); } }

Answer

Correct Answer: 00:00:00

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