Multiple choice technology programming languages

Which of these is not a method of DateTime object?

  1. AddTick()

  2. GetMonth()

  3. GetHashCode()

  4. AddMilliSeconds()

  5. All the Above

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

The question asks which is NOT a method of DateTime object. GetMonth() is not a valid DateTime method in C# - the correct method is Month property. AddTicks(), GetHashCode(), and AddMilliseconds() are actual methods.