R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which method in `List<T>` removes all elements?

  • (A) DeleteAll()
  • (B) Remove()
  • (C) Clear()
  • (D) Reset()

Explanation by: Ram Sharma
`Clear()` removes all elements from a list.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.