Structures inherit ToString from System.Object. Why would someone override that method within a structure?

 Posted by Raja on 9/24/2008 | Category: C# Interview questions | Views: 26353
Select from following answers:
  1. To avoid boxing.
  2. To return something other than the type name.
  3. The compiler requires structures to override the ToString method
  4. To avoid run-time errors caused by invalid string conversions.
  5. All Above

Show Correct Answer

Source: MCTS Book | | Alert Moderator 

Comments or Responses

Login to post response